FilteringPanelControl.PropertyBackground Property
Gets or sets the background brush for field names within the Filter Panel. This is a dependency property.
Namespace: DevExpress.Xpf.Core.FilteringUI
Assembly: DevExpress.Xpf.Grid.v26.1.dll
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Brush | null | The background brush applied to field names within the Filter Panel. |
Remarks
Note
When the ColorMode property is set to Plain, the PropertyBackground property has no effect.
Example: Set a Yellow Background for Field Names
The following example sets a yellow background for field names within the Filter Panel:

<dx:ThemedWindow x:Class="FilterPanelExample.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:dxfui="http://schemas.devexpress.com/winfx/2008/xaml/core/filteringui">
<dxg:GridControl ItemsSource="{Binding Orders}">
<dxg:GridControl.View>
<dxg:TableView ShowFilterPanelMode="ShowAlways">
<dxg:TableView.FilteringPanelStyle>
<Style TargetType="dxfui:FilteringPanelControl">
<Setter Property="ColorMode" Value="Default"/>
<Setter Property="PropertyBackground" Value="Yellow"/>
</Style>
</dxg:TableView.FilteringPanelStyle>
</dxg:TableView>
</dxg:GridControl.View>
</dxg:GridControl>
</dx:ThemedWindow>
See Also