ColorStyleSettings Class
Contains color settings for conditional formatting.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
Declaration
public class ColorStyleSettings :
StyleSettingsBase,
IBackColorStyleSettings,
IStyleSettings,
IXmlSerializableElement
Remarks
The ColorStyleSettings object allows you to specify appearance settings in the following ways:
- To use the predefined color, specify the PredefinedColor property.
- To use the custom color, set the PredefinedColor to Custom and specify the Color property.
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
Object
StyleSettingsBase
ColorStyleSettings
See Also