Skip to main content

CompatibilitySettings.UseFriendlyDateRangePresentation Property

Gets or sets whether the Between Dates and On Dates date operators are used.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v24.1.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

public static bool UseFriendlyDateRangePresentation { get; set; }

Property Value

Type Description
Boolean

true, to use the Between Dates and On Dates date operators; otherwise, false.

Remarks

Starting from v18.2, you can use the Between Dates and On Dates operators to optimize expressions.

The following image shows how to use these date operators in the Filter Editor:

NewDateOperators

See Also