Skip to main content
All docs
V25.2
  • FormatRuleCollection<T, TColumnType>.AddDateOccurringRule(TColumnType, FilterDateType, AppearanceDefault) Method

    Applies a format to cells that contain specific dates.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.XtraEditors.v25.2.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public T AddDateOccurringRule(
        TColumnType column,
        FilterDateType dateType,
        AppearanceDefault appearanceDefault
    )

    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.

    dateType FilterDateType

    The date to which the format should be applied. This value is assigned to the DateType property.

    appearanceDefault DevExpress.Utils.AppearanceDefault

    The appearance settings that should be 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