UserLookAndFeel.SetStyle(LookAndFeelStyle, Boolean, Boolean, String) Method
Sets the look and feel settings of the current object to the specified values.
Namespace: DevExpress.LookAndFeel
Assembly: DevExpress.Utils.v19.1.dll
Declaration
public void SetStyle(
LookAndFeelStyle style,
bool useWindowsXPTheme,
bool useDefaultLookAndFeel,
string skinName
)
Parameters
Name | Type | Description |
---|---|---|
style | LookAndFeelStyle | A LookAndFeelStyle enumeration value which specifies the style of the current object. |
useWindowsXPTheme | Boolean | true if a control should be painted using the WindowsXP theme; otherwise, false. |
useDefaultLookAndFeel | Boolean | true to use the look and feel settings provided by the parent object or default look and feel object; false to apply the current object’s settings. |
skinName | String | A string value specifying the skin name. |
Remarks
This method sets the UserLookAndFeel.Style, UserLookAndFeel.UseWindowsXPTheme, UserLookAndFeel.UseDefaultLookAndFeel and UserLookAndFeel.SkinName properties to the values of the corresponding parameters.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetStyle(LookAndFeelStyle, Boolean, Boolean, String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.