Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

UserLookAndFeel.SkinMaskColor Property

Gets or sets a custom hue applied to some skin elements.

Namespace: DevExpress.LookAndFeel

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[DXCategory("Appearance")]
public Color SkinMaskColor { get; set; }

#Property Value

Type Description
Color

A custom hue applied to skin elements.

#Remarks

Use the SkinMaskColor and UserLookAndFeel.SkinMaskColor2 properties to alter the hue of skin elements. The UserLookAndFeel.SkinMaskColor2 is typically used to change the hue of control elements when they are highlighted/hovered, while the SkinMaskColor is typically applied in other cases. Whether color masking is in effect and which mask color is applied to which control element is determined by settings of the skin.

The algorithm used to alter colors of skin elements is similar to the Hue filter in Adobe Photoshop. The control elements will not get the exact colors specified by the SkinMaskColor and UserLookAndFeel.SkinMaskColor2 properties. Their colors will be altered to gain hues specified by these properties.

To allow an end-user to customize the skin hue, you can use the Color Mixer dialog. It can be opened as follows:

using (DevExpress.XtraEditors.ColorWheel.ColorWheelForm f = new DevExpress.XtraEditors.ColorWheel.ColorWheelForm()) {
    f.ShowDialog(this);
}

Color Mixer

See Also