FormatConditionRuleAppearanceBase.Appearance Property

Allows you to explicitly set the appearance settings (background and foreground colors and font settings) for target cells. This property's settings take priority over the style specified by the FormatConditionRuleAppearanceBase.PredefinedName property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public AppearanceObjectEx Appearance { get; }
<DXCategory("Appearance")>
<XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)>
Public ReadOnly Property Appearance As AppearanceObjectEx

Property Value

Type Description
AppearanceObjectEx

An object that specifies appearance settings applied to target cells.

Remarks

The Appearance property allows you to directly specify background color, border color, foreground color, gradient mode, font settings, etc.

The appearance settings set with the Appearance property override the appearances created with the FormatConditionRuleAppearanceBase.PredefinedName property.

See Also