Skip to main content

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.v24.2.dll

Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowDateTimeConstants { get; set; }

Property Value

Type Default Description
Boolean true

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 (image) 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.

image

See Also