A newer version of this page is available.

ASPxPivotGrid.CssFilePath Property

Gets or sets the path to a CSS file that defines the pivot grid’s appearance.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v18.2.dll


public override string CssFilePath { get; set; }

Property Value

Type Description

A String value that specifies the path to the required CSS file.


Use the CssFilePath property together with the ASPxPivotGrid.CssPostfix property in order to define a pivot grid’s custom appearance using a separate CSS file. The CssFilePath property specifies the CSS file’s location which can be set by either an absolute or relative path. The specified CSS file’s content can be provided by copying the content of a sample CSS file (which can be invoked by clicking the “View CSS Sample” command in a pivot grid’s designer) and supplementing class names with a custom postfix set via the ASPxPivotGrid.CssPostfix property.

Note that style properties defined at the pivot grid’s level override the corresponding appearance settings declared in the specified CSS file.

See Also