FormatRuleCollection<T, TColumnType>.AddAppearanceRule(TColumnType, FormatConditionRuleAppearanceBase, AppearanceDefault) Method
In This Article
Applies a format based on the specified rule and appearance settings.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public T AddAppearanceRule(
TColumnType column,
FormatConditionRuleAppearanceBase rule,
AppearanceDefault appearanceDefault
)
#Parameters
Name | Type | Description |
---|---|---|
column | TColumn |
A {TColumn |
rule | Format |
An object that specifies a rule. |
appearance |
DevExpress. |
The appearance settings applied to the column (row in a vertical grid). This value is assigned to the Appearance property. |
#Returns
Type | Description |
---|---|
T | A {T} object that specifies a format. |
See Also