Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public AppearanceObjectEx Appearance { get; }

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