Skip to main content
A newer version of this page is available. .

UserLookAndFeel.UseWindowsXPTheme Property

Gets or sets whether controls should be painted using the native Windows theme.

Namespace: DevExpress.LookAndFeel

Assembly: DevExpress.Utils.v18.2.dll

Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool UseWindowsXPTheme { get; set; }

Property Value

Type Default Description
Boolean **false**

true if controls should be painted using the native Windows theme; otherwise, false.

Remarks

UseWindowsXPTheme specifies whether controls should be painted using the native Windows theme or the style determined by the UserLookAndFeel.Style property. UseWindowsXPTheme and UserLookAndFeel.Style are only in effect if

the UserLookAndFeel.UseDefaultLookAndFeel property is set to false.

The actual style currently applied is determined by the UserLookAndFeel.ActiveStyle property. This returns one of the ActiveLookAndFeelStyle values based on UseWindowsXPTheme and UserLookAndFeel.Style property values of the currently applied LookAndFeel object. See the UserLookAndFeel.ActiveLookAndFeel topic for more information.

The following code snippets (auto-collected from DevExpress Examples) contain references to the UseWindowsXPTheme property.

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.

See Also