dashboard-devexpress-dot-dashboardcommon-f3ef2fb3.md
Contains color settings for conditional formatting.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public class ColorStyleSettings :
StyleSettingsBase,
IBackColorStyleSettings,
IStyleSettings,
IXmlSerializableElement
Public Class ColorStyleSettings
Inherits StyleSettingsBase
Implements IBackColorStyleSettings,
IStyleSettings,
IXmlSerializableElement
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);
'...
Dim valueCondition As New FormatConditionValue(DashboardFormatCondition.Greater, 3000)
valueCondition.StyleSettings = New ColorStyleSettings(Color.Green)
Object StyleSettingsBase ColorStyleSettings BarStyleSettings
See Also