- 2 minutes to read
DevExpress offers you multiple ways to customize the appearance of an Pivot Grid.
Cascading Style Sheet (CSS) Classes
Use cascading style sheet (CSS) classes. CSS styles define how elements are rendered, and their position on the page. This provides you with centralized control over the appearance of several controls, or the entire web site. The ASPxPivotGrid ships with a number of predefined presets (DevExpress themes). You can also create your own themes. For detailed information and examples, see DevExpress Themes Overview.
The ASPxPivotGrid provides multiple styles, so you can customize the appearance of individual elements, and manage the pivot grid’s overall appearance. Each style property has a number of attributes that allow you to customize element appearance to the maximum extent allowed by web browsers. These attributes include: colors, font, borders, content alignment, text attributes, etc. These styles can be accessed using the following properties:
Member Description ASPxPivotGrid.Styles Provides access to the style settings that control the appearance of the pivot grid’s elements (cells, field values, headers, etc.). ASPxPivotGrid.StylesEditors Provides access to style settings that paint editors, used to edit filter values within the Filter Editor (Filter Editor). ASPxPivotGrid.StylesFilterControl Provides access to the style settings used to paint the Filter Editor (Filter Editor). ASPxPivotGrid.StylesPager Provides access to the style settings that control the appearance of the Pager. ASPxPivotGrid.StylesPrint Provides access to the style settings used to paint the pivot grid when it is printed (exported).
DevExpress ASP.NET product line controls are shipped with a set of predefined visual themes - DevExpress Themes - that allow you to provide a consistent appearance through all DevExpress ASP.NET controls contained within your website pages. Refer to the Available Themes topic for a list of the pre-packed DevExpress Themes.