Back to Devexpress

FilterEditorControl.ShowOperandTypeIcon Property

windowsforms-devexpress-dot-dataaccess-dot-ui-dot-filtereditorcontrol-ede24cdc.md

latest2.6 KB
Original Source

FilterEditorControl.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.DataAccess.UI

Assembly : DevExpress.DataAccess.v25.2.UI.dll

NuGet Package : DevExpress.DataAccess.UI

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 FilterEditorControl.ShowFunctions 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

FilterEditorControl Class

FilterEditorControl Members

DevExpress.DataAccess.UI Namespace