UserLookAndFeel.UseWindowsXPTheme Property

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

Namespace: DevExpress.LookAndFeel

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool UseWindowsXPTheme { get; set; }
<DefaultValue(False)>
<DXCategory("Appearance")>
Public Overridable Property UseWindowsXPTheme As Boolean

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.

See Also