Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FormatRuleCollection<T, TColumnType>.Add(TColumnType, FormatConditionRuleBase) Method

Applies a format based on the specified condition and associates it with the specified column (row in a vertical grid).

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public T Add(
    TColumnType column,
    FormatConditionRuleBase rule
)

#Parameters

Name Type Description
column TColumnType

A {TColumnType} object that specifies a column (row in a vertical grid) to which the format should be applied.

rule FormatConditionRuleBase

A FormatConditionRuleBase descendant.

#Returns

Type Description
T

A {T} object that specifies a format.

See Also