UserLookAndFeel.SkinMaskColor Property

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

Namespace: DevExpress.LookAndFeel

Assembly: DevExpress.Utils.v21.2.dll

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