All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ColorStyleSettings Class

Contains color settings for conditional formatting.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v20.2.Core.dll

Declaration

public class ColorStyleSettings :
    StyleSettingsBase,
    IBackColorStyleSettings,
    IStyleSettings,
    IXmlSerializableElement
Public Class ColorStyleSettings
    Inherits StyleSettingsBase
    Implements IBackColorStyleSettings,
               IStyleSettings,
               IXmlSerializableElement

Remarks

The ColorStyleSettings object allows you to specify appearance settings in the following ways:

The following code snippet turns Chart series points whose value is greater than the condition value green:

//...
FormatConditionValue valueCondition = new FormatConditionValue(DashboardFormatCondition.Greater, 3000);
valueCondition.StyleSettings = new ColorStyleSettings(Color.Green);

Inheritance

See Also