BarStyleSettings Class
Contains style settings used to change colors of bars used in conditional formatting.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v18.2.Core.dll
Declaration
public class BarStyleSettings :
StyleSettingsBase,
IBarColorStyleSettings,
IStyleSettings,
IXmlSerializableElement
Related API Members
The following members return BarStyleSettings objects:
Remarks
The BarStyleSettings object allows you to specify appearance settings in the following ways.
- To use the predefined color, specify the BarStyleSettings.PredefinedColor property.
- To use the custom color, set the BarStyleSettings.PredefinedColor to Custom and specify the BarStyleSettings.Color property.
You can pass the BarStyleSettings class objects to the following members for different bar format conditions.
- FormatConditionBar - Assign the BarStyleSettings class object to the FormatConditionBar.StyleSettings or FormatConditionBar.NegativeStyleSettings properties that are used to specify bar style settings.
- FormatConditionColorRangeBar - Assign the BarStyleSettings class object to the RangeInfo.StyleSettings property.
- FormatConditionGradientRangeBar - Pass the BarStyleSettings class objects to the FormatConditionGradientRangeBar constructor.
Inheritance
Object
StyleSettingsBase
BarStyleSettings
See Also