Themes for WinForms
ApplyThemeToControlTree メソッド (C1ThemeController)

C1.Win.C1Themes.4.5.2 アセンブリ > C1.Win.C1Themes 名前空間 > C1ThemeController クラス : ApplyThemeToControlTree メソッド
テーマの適用先のルートコントロール。
適用するテーマ。
この述語を指定した場合は、 ツリー内の特定のノードでこれが false を返した場合にテーマの適用を中断できます。
true の場合は、テーマが親に適用されているかどうかにかかわらず、子にテーマが適用されます。
コントロールとその子にテーマを再帰的に適用します。 テーマをサポートしないコントロールは無視されます(ただし、その子にはテーマが適用されます)。
シンタックス
'宣言
 
Public Shared Sub ApplyThemeToControlTree( _
   ByVal root As System.Windows.Forms.Control, _
   ByVal theme As C1Theme, _
   Optional ByVal applyThemeToSubTree As System.Predicate(Of Control), _
   Optional ByVal applyToChildren As System.Boolean _
) 
public static void ApplyThemeToControlTree( 
   System.Windows.Forms.Control root,
   C1Theme theme,
   System.Predicate<Control> applyThemeToSubTree,
   System.bool applyToChildren
)

パラメータ

root
テーマの適用先のルートコントロール。
theme
適用するテーマ。
applyThemeToSubTree
この述語を指定した場合は、 ツリー内の特定のノードでこれが false を返した場合にテーマの適用を中断できます。
applyToChildren
true の場合は、テーマが親に適用されているかどうかにかかわらず、子にテーマが適用されます。
参照

C1ThemeController クラス
C1ThemeController メンバ