Skip to main content
A newer version of this page is available. .

CheckedTreeListFilterElement.DateTimeFilterTreeType Property

Gets or sets the date-time filter tree’s type.

Namespace: DevExpress.Xpf.Core.FilteringUI

Assembly: DevExpress.Xpf.Grid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public DateTimeFilterTreeType DateTimeFilterTreeType { get; set; }

Property Value

Type Description
DateTimeFilterTreeType

The date-time filter tree’s type.

Available values:

Name Description
Linear

Values are placed in linear order.

Hierarchy

Values are placed in hierarchical order.

Remarks

Run Demo: Checked Dates Tree List

<dxfui:CheckedTreeListFilterElement x:Name="filterElement" FieldName="OrderDate"
                                    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=DateTimeFilterTreeType, UpdateSourceTrigger=PropertyChanged}"
                      ItemsSource="{dxe:EnumItemsSource EnumType={x:Type dxfui:DateTimeFilterTreeType}}"
                      IsTextEditable="False"/>
</DockPanel> 
See Also