The appearance of the controls is determined by the value of the UIStyle property. By default, when a control is dropped on the form, it will take on the appearance of the system's theme. To change the appearance of the control, the UIStyle property can be set to Xceed.UI.UIStyle.WindowsXP, Xceed.UI.UIStyle.System (default), Xceed.UI.UIStyle.WindowsClassic, or Xceed.UI.UIStyle.ResourceAssembly.
When the UIStyle property is set to Xceed.UI.UIStyle.System (default), the control will follow the theme currently being used. If UIStyle is set to Xceed.UI.UIStyle.WindowsXP on non-Windows XP machines, the blue XP theme style will be used. On Windows XP machines, if a classic Windows theme is used, the blue XP theme style will be applied; otherwise, the current XP theme will be used. To force either the blue, olive green, or silver Windows XP theme regardless of the OS, the UIStyle property must be set to Xceed.UI.UIStyle.ResourceAssembly.
When the UIStyle property is set to Xceed.UI.UIStyle.ResourceAssembly, the ResourceAssembly property of the control must be set to the assembly resource from which the UI style will be loaded.
VB.NET | Copy Code |
---|---|
|
C# | Copy Code |
---|---|
|
Note that the assembly assigned to the ResourceAssembly property is only taken into consideration when UIStyle is set to Xceed.UI.UIStyle.ResourceAssembly