Skip to main content
All docs
V23.2

WindowsFormsSettings.SetAccentColor2(Color) Method

Specifies the second accent color. “The Bezier” skin supports the second accent color. Other skins do not support the second accent color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

public static void SetAccentColor2(
    Color accentColor2
)

Parameters

Name Type Description
accentColor2 Color

The second accent color.

Remarks

Use the SetAccentColor and WindowsFormsSettings.SetAccentColor2 methods to specify custom accent colors.

The following example demonstrates how to reset custom accent colors:

DevExpress.XtraEditors.WindowsFormsSettings.SetAccentColor(System.Drawing.Color.Empty);
DevExpress.XtraEditors.WindowsFormsSettings.SetAccentColor2(System.Drawing.Color.Empty);

Tip

Read the following topic for information on how to display pre-designed Ribbon UI commands that correspond to advanced skin settings: Add and Customize the Ribbon Skin List and Skin Gallery.

Display Advanced Skin Options

See Also