Back to Devexpress

FilterControl.ShowOperandTypeIcon Property

windowsforms-devexpress-dot-xtraeditors-dot-filtercontrol-2a495e50.md

latest2.6 KB
Original Source

FilterControl.ShowOperandTypeIcon Property

Gets or sets whether a user can swap the second operand’s type (between the Value box and Field list). The Field list allows users to compare the first operand (field) with another field.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Appearance")]
public bool ShowOperandTypeIcon { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(False)>
Public Property ShowOperandTypeIcon As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , to allow end-users to swap the second operand’s type; otherwise, false.

|

Remarks

If the ShowOperandTypeIcon property is set to true , the Filter Control displays an additional icon ( ). It allows users to switch the second operand’s type between the Value box and Field list.

  • Value box - Allows a user to type a value or select a value from a dropdown value list.
  • Field list - Displays a dropdown list of available fields. This mode allows users to compare the first operand (field) with values of another field.

When the first operand is a date-time field, the Field list also displays the Date and time constants sub-menu with a set of predefined date constants (This year, Today, etc.). Users can select a date-time constant to check if the first operand falls into a specific date range. The FilterControl.ShowDateTimeConstants property specifies the availability of these date-time constants.

Users can also switch the second operand’s type with the CTRL+Q shortcut.

See Also

ShowDateTimeConstants

FilterControl Class

FilterControl Members

DevExpress.XtraEditors Namespace