'Declaration Public Enum FilterUIType Inherits System.Enum
public enum FilterUIType : System.Enum
Member | Description |
---|---|
Default | Default is resolved to FilterRecord. |
FilterRecord | A filter record is displayed. Each filter cell in the record will let you select filter operator as well as filter condition for the associated field. Each filter cell has UI for selecting applicable filter operators (see Infragistics.Windows.Controls.ComparisonOperator) and UI for entering the operand value. Certain common aspects of the filter cell can be controlled using FieldSettings.FilterOperatorDropDownItems, FieldSettings.FilterOperatorDefaultValue, FieldSettings.FilterOperandUIType, FieldSettings.FilterEvaluationTrigger and FieldSettings.FilterClearButtonVisibility. |
LabelIcons | A filter icon is displayed in each field label. When clicked upon, a drop-down list with various filtering options is displayed. It typically has field values along with other items like (All), (Blanks), (NonBlanks), (Custom), etc. The type of dropdown that is displayed is based on the resolved FieldSettings.FilterLabelIconDropDownType for each Field |
Imports Infragistics.Windows Imports Infragistics.Windows.Editors Imports Infragistics.Windows.DataPresenter Private Sub Window1_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs) ' Set AllowRecordFiltering to enable record filter UI. _dp.FieldSettings.AllowRecordFiltering = True ' Use FilterUIType to specify what type of UI to use: Filter icons ' in the field labels or the filter-record. _dp.FieldLayoutSettings.FilterUIType = FilterUIType.FilterRecord ' If using filter-record, use FilterRecordLocation to control the location of ' the filter record. _dp.FieldLayoutSettings.FilterRecordLocation = FilterRecordLocation.OnTopFixed End Sub
using Infragistics.Windows; using Infragistics.Windows.Editors; using Infragistics.Windows.DataPresenter; public void Window1_Loaded( object sender, RoutedEventArgs e ) { // Set AllowRecordFiltering to enable record filter UI. _dp.FieldSettings.AllowRecordFiltering = true; // Use FilterUIType to specify what type of UI to use: Filter icons // in the field labels or the filter-record. _dp.FieldLayoutSettings.FilterUIType = FilterUIType.FilterRecord; // If using filter-record, use FilterRecordLocation to control the location of // the filter record. _dp.FieldLayoutSettings.FilterRecordLocation = FilterRecordLocation.OnTopFixed; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2