A newer version of this page is available. Switch to the current version.

ColumnBase.RoundDateDisplayFormat Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll


public string RoundDateDisplayFormat { get; set; }
Public Property RoundDateDisplayFormat As String

Property Value

Type Description

A format that defines how display rounded dates.


The RoundDateDisplayFormat is applied if the ColumnBase.RoundDateTimeForColumnFilter property value is true.

The following code sample shows how to specify the display format for rounded dates:

<dxg:GridControl ItemsSource="{Binding Items}" AutoGenerateColumns="AddNew">
    <dxg:GridColumn FieldName="Date" RoundDateDisplayFormat="d">
            <dxe:DateEditSettings DisplayFormat="u"/>
        <dxg:TableView ColumnFilterPopupMode="ExcelSmart"/>
See Also