Back to Devexpress

PivotCustomValueAppearanceEventArgs.Background Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcustomvalueappearanceeventargs.md

latest2.4 KB
Original Source

PivotCustomValueAppearanceEventArgs.Background Property

Gets or sets the brush used to paint the background of the processed field value cell.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public Brush Background { get; set; }
vb
Public Property Background As Brush

Property Value

TypeDescription
Brush

A Brush object used to paint the background of the processed field value cell.

|

Remarks

Use the PivotCustomValueAppearanceEventArgs.IsExporting property to obtain whether the pivot grid is being exported (or printed). If the PivotCustomValueAppearanceEventArgs.IsExporting property returns true , a brush assigned to the Background property will affect the field value’s export (or print) appearance. Otherwise, the brush will affect the field value’s display appearance.

To specify the brush used to paint the field value cell’s foreground, use the PivotCustomValueAppearanceEventArgs.Foreground property.

See Also

IsExporting

Foreground

PivotCustomValueAppearanceEventArgs Class

PivotCustomValueAppearanceEventArgs Members

DevExpress.Xpf.PivotGrid Namespace