Skip to main content

ColumnBase.RoundDateDisplayFormat Property

Gets or sets a format that defines how to display rounded DateTime values.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

[DP(null)]
public string RoundDateDisplayFormat { get; set; }

#Property Value

Type Description
String

A format that defines how to display rounded DateTime values.

#Remarks

The RoundDateDisplayFormat property is applied if the ColumnBase.RoundDateTimeForColumnFilter property is set to true.

The following code sample specifies the display format for rounded DateTime values:

<dxg:GridDateColumn FieldName="OrderDate" 
                    FilterPopupMode="Excel" 
                    RoundDateTimeForColumnFilter="True" 
                    RoundDateDisplayFormat="D"/>
See Also