windowsforms-devexpress-dot-lookandfeel-dot-userlookandfeel-0a9bde5b.md
Gets or sets the name of a skin style.
Namespace : DevExpress.LookAndFeel
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[DefaultValue("Basic")]
[DXCategory("Appearance")]
public virtual string SkinName { get; set; }
<DefaultValue("Basic")>
<DXCategory("Appearance")>
Public Overridable Property SkinName As String
| Type | Default | Description |
|---|---|---|
| String | "Basic" |
A string value specifying the skin style’s name.
|
Use the SkinName property to specify which skin style should be used to paint the controls.
See galleries in the Skins article for skin names.
The following code snippets (auto-collected from DevExpress Examples) contain references to the SkinName 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.
how-to-keep-a-look-and-feel-of-windows-forms-in-sync-e2243/CS/ThreadedSkinning/Form1.cs#L18
comboBoxEdit1.EditValue = DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName;
foreach(DevExpress.Skins.SkinContainer cnt in DevExpress.Skins.SkinManager.Default.Skins) {
SkinHelper.InitSkinGallery(galleryControl1);
UserLookAndFeel.Default.SkinName = Settings.Default["ApplicationSkinName"].ToString();
}
winforms-filter-lookup-column-based-on-another-lookup-column/CS/DxSample/Program.cs#L20
SkinManager.EnableFormSkins();
UserLookAndFeel.Default.SkinName = "Seven Classic";
Application.Run(new MainForm());
winforms-save-restore-active-skin-palette/CS/DXApplication1/Form1.cs#L36
var settings = Properties.Settings.Default;
settings.SkinName = UserLookAndFeel.Default.SkinName;
settings.Palette = UserLookAndFeel.Default.ActiveSvgPaletteName;
static void Main() {
DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName = "The Bezier";
Application.EnableVisualStyles();
how-to-keep-a-look-and-feel-of-windows-forms-in-sync-e2243/VB/ThreadedSkinning/Form1.vb#L15
InitializeComponent()
comboBoxEdit1.EditValue = UserLookAndFeel.Default.SkinName
For Each cnt As DevExpress.Skins.SkinContainer In DevExpress.Skins.SkinManager.Default.Skins
Call SkinHelper.InitSkinGallery(galleryControl1)
UserLookAndFeel.Default.SkinName = Settings.Default(CStr("ApplicationSkinName")).ToString()
End Sub
winforms-filter-lookup-column-based-on-another-lookup-column/VB/DxSample/Program.vb#L24
SkinManager.EnableFormSkins()
UserLookAndFeel.Default.SkinName = "Seven Classic"
Application.Run(New MainForm())
winforms-save-restore-active-skin-palette/VB/DXApplication1/Form1.vb#L31
Dim settings = Properties.Settings.Default
settings.SkinName = UserLookAndFeel.Default.SkinName
settings.Palette = UserLookAndFeel.Default.ActiveSvgPaletteName
Sub Main()
DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName = "The Bezier"
Call Application.EnableVisualStyles()
See Also