Version

StyleSetName Property (RecurrenceDialog)

Returns or sets the name of the styleset in the Infragistics.Win.AppStyling.StyleManager that should be used by the dialog.
Syntax
'Declaration
 
Public Property StyleSetName As String
public string StyleSetName {get; set;}
Example
The following sample code shows how to load and apply stylesets to Infragistics controls.

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;
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also