Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Collapse]Pivot Grid
   [Expand]Getting Started
   [Expand]Fundamentals
   [Expand]Binding to Data
   [Expand]Data Shaping
   [Expand]Data Analysis
   [Expand]Layout
   [Expand]Focus and Navigation
   [Expand]Printing and Exporting
   [Collapse]Appearance
     Appearances
     Custom Draw
     Look and Feel
     PivotGridControl Elements Painted via Appearances
   [Expand]Design-time Features
   [Expand]Miscellaneous
   [Expand]UI Elements
   [Expand]End-User Capabilities
   [Expand]Examples
   [Expand]Member Tables
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Appearances

Pivot Grid provides design-time and runtime capabilities for modifying appearances of its elements. Modifying appearances means modifying attributes such as background and foreground colors, font settings, alignment etc. Appearances provide a direct and simple way of customizing controls.

Expanded Appearance Customization

Pivot Grid holds a collection of appearances used to paint its elements (cells, field headers, buttons, etc.). This collection can be accessed via the PivotGridControl.Appearance property. For a list of visual elements that support customizing their visual representation via appearances, see PivotGridControl Elements Painted via Appearances.

Appearances are represented by AppearanceObject objects. Their properties specify background and foreground colors, gradient background, font, pen, brush and other style characteristics used to paint particular elements. For a list of settings provided by appearance objects, see the Appearances Overview document.

The image below shows how appearances used to paint Pivot Grid Control's elements can be accessed using the Properties window.

These appearances can also be accessed, customized and previewed at design time using the Appearances Page of the PivotGrid Designer.

Note

Note that some settings exposed by the AppearanceObject are not in effect for field headers (e.g., AppearanceObject.BackColor).

Expanded Customizing Appearances of Individual Fields

Individual fields have their own appearances that can be used to paint the field's header and values. These appearances override those provided by PivotGrid and can be accessed via the PivotGridField.Appearance property. If a field's appearance settings are not specified or not used, it is painted using appearance settings provided by PivotGrid.

Note

When PivotGrid is painted using Windows XP, Office2003 or Skin style, appearance settings used to paint field headers' background are not in effect.

Expanded See Also

How would you rate this topic?​​​​​​​