Back to Devexpress

PivotGridControl Elements Painted via Appearances

windowsforms-9264-controls-and-libraries-pivot-grid-appearance-pivotgridcontrol-elements-painted-via-appearances.md

latest7.0 KB
Original Source

PivotGridControl Elements Painted via Appearances

  • Feb 18, 2022
  • 2 minutes to read

Display Appearances

The Pivot Grid holds a collection of appearances used to paint its elements (cells, field headers, buttons, etc.). The following image shows Pivot Grid Control elements that allow for the customizing of their visual representation.

The appearances collection can be accessed via the PivotGridControl.Appearance property. To learn more, see Appearances.

To apply specific appearances to Pivot Grid Control visual elements when they are printed, use a collection of printing appearances accessed via the PivotGridControl.AppearancePrint property. By default, these appearances are ignored when printing the PivotGridControl. To apply them, set the PivotGridOptionsPrint.UsePrintAppearance property to true.

The following image shows PivotGrid’s elements that allow for the customizing of their visual representation when the Pivot Grid Control is printed.

Appearances Table

The following table lists all PivotGrid elements that support customizing their appearances:

|

UI Element

|

Has a Print Appearance

|

Property

| | --- | --- | --- | |

Column Header Area

|

|

PivotGridAppearances.ColumnHeaderArea

| |

Custom Total Cell

|

|

PivotGridAppearancesBase.CustomTotalCell

| |

Data Cell

|

|

PivotGridAppearancesBase.Cell

PivotGridAppearances.SelectedCell

PivotGridAppearances.FocusedCell

| |

Data Header Area

|

|

PivotGridAppearances.DataHeaderArea

| |

Empty Area

|

|

PivotGridAppearances.Empty

| |

Expand Button

|

|

PivotGridAppearances.ExpandButton

| |

Field Header

|

|

PivotGridAppearancesBase.FieldHeader

| |

Field Value

|

|

PivotGridAppearancesBase.FieldValue

| |

Filter Button

|

|

PivotGridAppearances.HeaderFilterButton

PivotGridAppearances.HeaderFilterButtonActive

| |

Filter Header Area

|

|

PivotGridAppearances.FilterHeaderArea

| |

Filter Header Area Separator

|

|

PivotGridAppearancesBase.FilterSeparator

| |

Grand Total Cell

|

|

PivotGridAppearancesBase.GrandTotalCell

| |

Grand Total Header

|

|

PivotGridAppearancesBase.FieldValueGrandTotal

| |

Grouped Fields Connector

|

|

PivotGridAppearancesBase.HeaderGroupLine

| |

Header Area

|

|

PivotGridAppearances.HeaderArea

| |

Filter Panel

|

|

PivotGridAppearances.FilterPanel

| |

Row Header Area

|

|

PivotGridAppearances.RowHeaderArea

| |

Sort by Summary Glyph

|

|

PivotGridAppearances.SortByColumnIndicatorImage

| |

Total Cell

|

|

PivotGridAppearancesBase.TotalCell

| |

Total Header

|

|

PivotGridAppearancesBase.FieldValueTotal

|