CheckedTreeListFilterElement.StringFilterTreeType Property
Gets or sets the string filter tree’s type.
Namespace: DevExpress.Xpf.Core.FilteringUI
Assembly: DevExpress.Xpf.Grid.v21.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
StringFilterTreeType | The string filter tree’s type. |
Available values:
Name | Description |
---|---|
Linear | Values are placed in linear order. |
Alphabetical | Values are placed in alphabetical order. |
Remarks
<dxfui:CheckedTreeListFilterElement x:Name="filterElement" StringFilterTreeType="Alphabetical" FieldName="City"
Context="{Binding ElementName=grid, Path=FilteringContext}"
Height="200" ShowCounts="True"/>
<CheckBox IsChecked="{Binding ElementName=filterElement, Path=ShowCounts}"
Content="Show Counts"/>
<CheckBox IsChecked="{Binding ElementName=filterElement, Path=ShowSearchPanel}"
Content="Show Search Panel"/>
<DockPanel>
<Label>Tree Type:</Label>
<dxe:ComboBoxEdit EditValue="{Binding ElementName=filterElement, Path=StringFilterTreeType, UpdateSourceTrigger=PropertyChanged}"
ItemsSource="{dxe:EnumItemsSource EnumType={x:Type dxfui:StringFilterTreeType}}"
IsTextEditable="False"/>
</DockPanel>
See Also