Back to Devexpress

FormatConditionRuleAppearanceBase.Appearance Property

windowsforms-devexpress-dot-xtraeditors-dot-formatconditionruleappearancebase.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

PredefinedName

FormatConditionRuleAppearanceBase Class

FormatConditionRuleAppearanceBase Members

DevExpress.XtraEditors Namespace