Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartControl Class / UIStyle Property


In This Topic
    UIStyle Property (SmartControl)
    In This Topic
    Gets or sets the appearance of the SmartControl and its SmartItems.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The appearance of the SmartControl and its SmartItems.")>
    <CategoryAttribute("Appearance")>
    <BrowsableAttribute(True)>
    <TypeConverterAttribute("Xceed.SmartUI.Design.UIStyleConverter, Xceed.SmartUI.v3.6.Design, Version=3.6.25208.5768, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")>
    Public Property UIStyle As UIStyle
    'Usage
     
    Dim instance As SmartControl
    Dim value As UIStyle
     
    instance.UIStyle = value
     
    value = instance.UIStyle
    [Description("The appearance of the SmartControl and its SmartItems.")]
    [Category("Appearance")]
    [Browsable(true)]
    [TypeConverter("Xceed.SmartUI.Design.UIStyleConverter, Xceed.SmartUI.v3.6.Design, Version=3.6.25208.5768, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")]
    public UIStyle UIStyle {get; set;}

    Property Value

    A Xceed.SmartUI.UIStyle value representing the appearance of the SmartControl and its SmartItems.
    Remarks

    Not all SmartControls support all styles. The following table provides a list of the available SmartControls and their supported styles.

    SmartCheckedListBox The Windows Classic, OfficeXP, WindowsXP and ResourceAssembly styles are supported.
    SmartExplorerTaskPane The Windows Classic, WindowsXP and ResourceAssembly styles are supported.
    SmartMenuBar The Windows Classic, OfficeXP, WindowsXP, Office2003 and ResourceAssembly styles are supported.
    SmartOfficeTaskPane The OfficeXP and Office2003 styles are supported.
    SmartOptionList The Windows Classic, OfficeXP, WindowsXP and ResourceAssembly styles are supported.
    SmartOutlookShortcutBar The Windows Classic, OfficeXP, WindowsXP and ResourceAssembly styles are supported.
    SmartStatusBar The Windows Classic, OfficeXP, WindowsXP, Office2003 and ResourceAssembly styles are supported.
    SmartTabStrip The OfficeXP style is supported.
    SmartToolBar The Windows Classic, OfficeXP, WindowsXP, Office2003 and ResourceAssembly styles are supported.
    SmartTreeView The Windows Classic, WindowsXP and ResourceAssembly styles are supported.

    When set to WindowsXP on non-Windows XP machines, the blue XP theme style will be used. On Windows XP machines, the current theme will be used. If you want to force a style in particular, for example the Blue, Olive Green or Silver XP themes, the resource assembly must be assigned to the UIStyleResourceAssembly property and the UIStyle property set to UIStyle.ResourceAssembly.

    Requirements

    Target Platforms: 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