TcxLookAndFeelController.SkinName Property
Specifies the name of a skin that all DevExpress controls in an application use by default.
Declaration
property SkinName: TdxSkinName read; write;
Property Value
Type |
---|
TdxSkinName |
Remarks
Use this property to apply a built-in or custom skin to all controls instead of a basic look & feel style if the NativeStyle property is set to False. The LookAndFeel.SkinName property of an individual control overrides the SkinName property.
To apply a built-in skin to an application, assign the skin’s name to the SkinName property. If you need to use a custom skin instead:
Launch the Skin Editor to create a new skin.
Call the dxSkinsUserSkinLoadFromFile, dxSkinsUserSkinLoadFromFileByIndex, dxSkinsUserSkinLoadFromFile, or dxSkinsUserSkinLoadFromStreamByIndex global function to load a skin from a SKINRES file or stream.
Assign ‘UserSkin’ to the SkinName property.
Enclose code that performs a series of look & feel changes between the BeginUpdate and EndUpdate procedure calls to avoid excessive redraw operations.
Note
Alternatively, you can use the SkinName property accessible via a RootLookAndFeel global function call.
The SkinName property’s default value is the cxDefaultLookAndFeelSkinName global constant.