Back to Devexpress

PivotCustomCellAppearanceEventArgs.Foreground Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcustomcellappearanceeventargs-22c969be.md

latest2.3 KB
Original Source

PivotCustomCellAppearanceEventArgs.Foreground Property

Gets or sets the brush used to paint the foreground of the processed cell.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Property Value

TypeDescription
Brush

A Brush object used to paint the foreground of the processed cell.

|

Remarks

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

To specify the brush used to paint the cell’s background, use the PivotCustomCellAppearanceEventArgs.Background property.

See Also

IsExporting

Background

PivotCustomCellAppearanceEventArgs Class

PivotCustomCellAppearanceEventArgs Members

DevExpress.Xpf.PivotGrid Namespace