windowsforms-devexpress-dot-lookandfeel-dot-userlookandfeel-7dd0ac6f.md
Gets or sets the style of the current UserLookAndFeel object. This property is no longer supported.
Namespace : DevExpress.LookAndFeel
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[Browsable(false)]
[DefaultValue(LookAndFeelStyle.Skin)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual LookAndFeelStyle Style { get; set; }
<DefaultValue(LookAndFeelStyle.Skin)>
<DXCategory("Appearance")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Property Style As LookAndFeelStyle
| Type | Default | Description |
|---|---|---|
| LookAndFeelStyle | Skin |
The style of the current UserLookAndFeel object.
|
Available values:
| Name | Description | Example |
|---|---|---|
| Flat |
Control borders are flat. It is not recommended that you use this style (see this announcement for more details: WinForms Deprecation Notice — Classic Visual Styles).
|
| | UltraFlat |
Borders have an Office XP style. Borders and the client area are highlighted when the mouse pointer is positioned over them or they are focused. It is not recommended that you use this style (see this announcement for more details: WinForms Deprecation Notice — Classic Visual Styles).
|
| | Style3D |
Control borders are three-dimensional. It is not recommended that you use this style (see this announcement for more details: WinForms Deprecation Notice — Classic Visual Styles).
|
| | Office2003 |
Borders and buttons have an Office 2003 style. The borders and client area are highlighted when the mouse pointer is positioned over them or they are focused. It is not recommended that you use this style (see this announcement for more details: WinForms Deprecation Notice — Classic Visual Styles).
|
| | Skin |
Control elements are painted using the skin specified by the UserLookAndFeel.SkinName property.
|
|
This property is no longer supported.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Style 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.
_prbLess25.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid;
_prbLess25.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat;
_prbLess25.LookAndFeel.UseDefaultLookAndFeel = false;
winforms-richedit-create-log-viewer-application/CS/Program.cs#L13
DevExpress.LookAndFeel.UserLookAndFeel.Default.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Style3D;
_prbLess25.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid
_prbLess25.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat
_prbLess25.LookAndFeel.UseDefaultLookAndFeel = False
winforms-richedit-create-log-viewer-application/VB/Program.vb#L13
Sub Main()
DevExpress.LookAndFeel.UserLookAndFeel.Default.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Style3D
Call Application.EnableVisualStyles()
See Also