'宣言 Public Enum FilterUIType Inherits System.Enum
public enum FilterUIType : System.Enum
メンバ | 解説 |
---|---|
Default | デフォルトは FilterRecord に解決されます。 |
FilterRecord | フィルター レコードは表示されます。レコードの各フィルター セルには関連フィールドのフィルター演算子およびフィルター条件の選択ができます。各フィルター セルには、該当するフィルター演算子 (Infragistics.Windows.Controls.ComparisonOperator を参照) を選択するための UI およびオペランド値を入力するための UI があります。フィルター セルのある一般的な要素は FieldSettings.FilterOperatorDropDownItems、FieldSettings.FilterOperatorDefaultValue、FieldSettings.FilterOperandUIType、FieldSettings.FilterEvaluationTrigger、および FieldSettings.FilterClearButtonVisibility を使用して制御できます。 |
LabelIcons | フィルター アイコンは各フィールド ラベルに表示されます。クリックされた時に、さまざまなフィルタリング オプションのドロップダウン リストが表示されます。一般にフィールド値と、(All)、(Blanks)、(NonBlanks)、(Custom) などの他の項目があります。表示されるドロップダウンのタイプは、各 Field の解決された FieldSettings.FilterLabelIconDropDownType に基づきます。 |
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; }