Back to Devexpress

FilterControl.ShowDateTimeConstants Property

windowsforms-devexpress-dot-xtraeditors-dot-filtercontrol-0694beaa.md

latest2.1 KB
Original Source

FilterControl.ShowDateTimeConstants Property

Gets or sets whether date-time constants (functions) are available in the second operand’s dropdown field list. Supported when the first operand is a date-time field.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowDateTimeConstants { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(True)>
Public Property ShowDateTimeConstants As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if date-time functions/constants are available in the second operand’s field list; otherwise, false

|

Remarks

The FilterControl.ShowOperandTypeIcon property enables an additional icon ( ) that switches the second operand’s type between the Value box and Field list.

The ShowDateTimeConstants property specifies whether predefined date-time constants (functions) are available in the second operand’s Field list when the first operand is a date-time field. Users can select a date-time constant to check if the first operand falls into a specific date range.

See Also

ShowOperandTypeIcon

FilterControl Class

FilterControl Members

DevExpress.XtraEditors Namespace