Back to Devexpress

PivotCustomValueAppearanceEventArgs Class

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

latest3.2 KB
Original Source

PivotCustomValueAppearanceEventArgs Class

Provides data for the PivotGridControl.CustomValueAppearance event.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public class PivotCustomValueAppearanceEventArgs :
    PivotFieldValueEventArgs
vb
Public Class PivotCustomValueAppearanceEventArgs
    Inherits PivotFieldValueEventArgs

PivotCustomValueAppearanceEventArgs is the data class for the following events:

Remarks

The PivotGridControl.CustomValueAppearance event is fired for each field value cell after the PivotGridControl layout changes, allowing you to specify brushes used to paint the background and foreground of the processed field value cell. To do this, use the PivotCustomValueAppearanceEventArgs.Background and PivotCustomValueAppearanceEventArgs.Foreground properties provided by the PivotCustomValueAppearanceEventArgs class, respectively.

Use the PivotCustomValueAppearanceEventArgs.IsExporting property to obtain whether the pivot grid is being exported (or printed). If the PivotCustomValueAppearanceEventArgs.IsExporting property returns true , brushes assigned to the PivotCustomValueAppearanceEventArgs.Background and PivotCustomValueAppearanceEventArgs.Foreground properties will affect the processed field value cell’s export (or print) appearance. Otherwise, these brushes will affect the field value cell’s display appearance.

Inheritance

Object EventArgs RoutedEventArgs PivotFieldEventArgs PivotFieldValueEventArgs PivotCustomValueAppearanceEventArgs

See Also

PivotCustomValueAppearanceEventArgs Members

DevExpress.Xpf.PivotGrid Namespace