CheckedTreeListFilterElement.DateTimeFilterTreeType Property

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

Namespace: DevExpress.Xpf.Core.FilteringUI

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

Declaration

public DateTimeFilterTreeType DateTimeFilterTreeType { get; set; }
Public Property DateTimeFilterTreeType As DateTimeFilterTreeType

Property Value

Type Description
DateTimeFilterTreeType

The date-time filter tree's type.

Remarks

TIP

Demo: Checked Dates Tree List

Requires a WPF Subscription. Download

<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