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.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
accent |
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.