windowsforms-devexpress-dot-lookandfeel-dot-userlookandfeel-dot-setskinstyle-x28-devexpress-dot-lookandfeel-dot-skinsvgpalette-x29.md
Applies the specified skin and palette.
Namespace : DevExpress.LookAndFeel
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
public void SetSkinStyle(
SkinSvgPalette palette
)
Public Sub SetSkinStyle(
palette As SkinSvgPalette
)
| Name | Type | Description |
|---|---|---|
| palette | DevExpress.LookAndFeel.SkinSvgPalette |
A SkinSvgPalette object specifying the skin and palette to apply.
|
Using the palette parameter, you can apply a specific swatch to the vector skin.
this.LookAndFeel.SetSkinStyle(SkinSvgPalette.Bezier.LeafRustle);
this.LookAndFeel.SetSkinStyle(SkinSvgPalette.Bezier.LeafRustle)
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetSkinStyle(SkinSvgPalette) 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.
winforms-how-to-use-zoom-transition-effect/CS/dxSample/Program.cs#L18
WindowsFormsSettings.ForceDirectXPaint();
UserLookAndFeel.Default.SetSkinStyle(SkinSvgPalette.Office2019Colorful);
Application.EnableVisualStyles();
winforms-how-to-use-zoom-transition-effect/VB/dxSample/Program.vb#L16
Call WindowsFormsSettings.ForceDirectXPaint()
UserLookAndFeel.Default.SetSkinStyle(SkinSvgPalette.Office2019Colorful)
Call Application.EnableVisualStyles()
See Also