Xceed DataGrid for WPF v7.3 Documentation
In This Topic
    Enabling and disabling advanced filtering
    In This Topic

    The following example demonstrates how to set advanced filter mode to Always, and how to disable advanced filtering on at least one column.

    XAML
    Copy Code
    <Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid">
       <Grid.Resources>
          <xcdg:DataGridCollectionViewSource x:Key="cvs_orders"
                                             Source="{Binding Source={x:Static Application.Current}, Path=Orders}" />
       </Grid.Resources>
       <xcdg:DataGridControl x:Name="OrdersGrid"
                             ItemsSource="{Binding Source={StaticResource cvs_orders}}">
          <xcdg:DataGridControl.Columns>
             <xcdg:Column FieldName="ShipCountry"
                          AllowAdvancedFilter="False" />
          </xcdg:DataGridControl.Columns>
          <xcdg:DataGridControl.View>
             <xcdg:TableflowView AdvancedFilterMode="Always" />
          </xcdg:DataGridControl.View>
       </xcdg:DataGridControl>
    </Grid>