バージョン

UseAppStyling プロパティ (CustomizeDialog)

コントロールがアプリケーション スタイリングを使用するかどうかを返すまたは設定します。
シンタックス
'宣言
 
Public Property UseAppStyling As Boolean
public bool UseAppStyling {get; set;}
使用例
Public Sub New()
    MyBase.New()

    'This call is required by the Windows Form Designer.
    InitializeComponent()

    ' Application styling is enabled once a styleset library is loaded by
    ' calling the Load method of the StyleManager. This is normally
    ' done at application startup.
    '
    Infragistics.Win.AppStyling.StyleManager.Load("MyStyleLibrary.isl")

    ' Note: 
    ' Within the library there will be a styleset marked as the default styleset. 
    ' In addition, there can be other stylesets within the library that are marked
    ' as the default styleset for component types, e.g. UltraGrid, UltraCombo etc.
    '
    ' In this example, we don't want to use the default styleset for the 
    ' UltraToolbarsManager component so we set its StyleSetName property instead.
    '
    Me.UltraToolbarsManager1.StyleSetName = "My_Custom_StyleSet"

    ' We also want to turn application styling off for an UltraButton
    ' on the form.
    '
    Me.UltraButton1.UseAppStyling = False

End Sub
public MainForm()
{
	InitializeComponent();

	// Application styling is enabled once a styleset library is loaded by
	// calling the Load method of the StyleManager. This is normally done
	// at application startup.
	//
	Infragistics.Win.AppStyling.StyleManager.Load("MyStyleLibrary.isl");
			
	// Note: 
	// Within the library there will be a styleset marked as the default styleset. 
	// In addition, there can be other stylesets within the library that are marked
	// as the default styleset for component types, e.g. UltraGrid, UltraCombo etc.
	//
	// In this example, we don't want to use the default styleset for the 
	// UltraToolbarsManager component so we set its StyleSetName property instead.
	//
	this.ultraToolbarsManager1.StyleSetName = "My_Custom_StyleSet";

	// We also want to turn application styling off for an UltraButton
	// on the form.
	//
	this.ultraButton1.UseAppStyling = false;
}
参照