AppearanceSettings Class
Contains style settings used to apply conditional formatting by changing appearance settings.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
Declaration
public class AppearanceSettings :
StyleSettingsBase,
IBackColorStyleSettings,
IStyleSettings,
IXmlSerializableElement
Remarks
The AppearanceSettings object allows you to specify appearance settings in the following ways.
- To use predefined appearances, specify the AppearanceSettings.AppearanceType property.
To set the element’s background or foreground colors, use the AppearanceSettings.BackColor and AppearanceSettings.ForeColor properties respectively.
To specify font settings, use the AppearanceSettings.FontFamily and AppearanceSettings.FontStyle properties. Note that the AppearanceSettings.AppearanceType property should be set to Custom to take custom appearance settings into account.
The following properties can be initialized using the AppearanceSettings object.
- FormatConditionStyleBase.StyleSettings;
- RangeInfo.StyleSettings;
- FormatConditionRangeGradient.StartStyle/FormatConditionRangeGradient.EndStyle if the AppearanceSettings.BackColor property is specified.