Skip to main content

GridViewBase.FilteringPanelStyle Property

Gets or sets the style applied to the Filter Panel. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public Style FilteringPanelStyle { get; set; }

Property Value

Type Description
Style

The Filter Panel‘s style.

Remarks

Target Type: FilteringPanelControl

Example

<Window xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
        xmlns:dxfui="http://schemas.devexpress.com/winfx/2008/xaml/core/filteringui">
    <dxg:GridControl ...>
        <dxg:GridControl.View>
                <dxg:TableView>
                    <dxg:TableView.FilteringPanelStyle>
                        <Style TargetType="dxfui:FilteringPanelControl">
                            <Setter Property="Background" Value="PaleVioletRed"/>
                            <Setter Property="AllowDeleteColumnFilters" Value="False"/>
                            <Setter Property="AllowClearFilter" Value="False"/>
                            <Setter Property="AllowEditFilter" Value="False"/>
                            <Setter Property="AllowMRU" Value="False"/>
                            <Setter Property="AllowDisableFilter" Value="False"/>
                            <Setter Property="Height" Value="60"/>
                            <Setter Property="HorizontalAlignment" Value="Right"/>
                        </Style>
                    </dxg:TableView.FilteringPanelStyle>
                </dxg:TableView>
        </dxg:GridControl.View>
    </dxg:GridControl>
</Window>
See Also