Back to Devexpress

FilterControl.ShowDateTimeFunctions Property

windowsforms-devexpress-dot-xtraeditors-dot-filtercontrol-13405950.md

latest2.2 KB
Original Source

FilterControl.ShowDateTimeFunctions Property

Gets or sets whether to show the standard and advanced date-time functions (BeyondThisYear, LaterThisYear, Tomorrow, Today, Yesterday, LastWeek, etc.) for date-time fields.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DateTimeFunctionsShowMode.Default)]
[DXCategory("Appearance")]
public DateTimeFunctionsShowMode ShowDateTimeFunctions { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(DateTimeFunctionsShowMode.Default)>
Public Property ShowDateTimeFunctions As DateTimeFunctionsShowMode

Property Value

TypeDefaultDescription
DateTimeFunctionsShowModeDefault

A DateTimeFunctionsShowMode enumaration value that specifies whether to show the standard and advanced date-time functions for date-time fields.

|

Available values:

NameDescription
Never

Do not show date-time functions.

| | Default |

Advanced if Version Compatibility is set to version 19.1 or newer; otherwise, Standard.

| | Standard |

Shows the standard date-time functions, such as Is Later This Year, Is Next Week.

| | Advanced |

Shows the advanced date-time functions such as Is Same Day, Is Yesterday.

|

See Also

FilterControl Class

FilterControl Members

DevExpress.XtraEditors Namespace