DxPivotTable.CssClass Property
In This Article
Assigns a CSS class to the Pivot Table.
Namespace: DevExpress.Blazor.PivotTable
Assembly: DevExpress.Blazor.PivotTable.v24.2.dll
NuGet Package: DevExpress.Blazor.PivotTable
#Declaration
C#
[DefaultValue(null)]
[Parameter]
public string CssClass { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
String | null | CSS class names delimited by spaces. |
#Remarks
The CssClass
property allows you to customize the Pivot Table’s appearance. The assigned CSS class is added to the Pivot Table’s root element. Refer to the following topic for more information: CSS Classes.
razor
@rendermode InteractiveServer
<style>
.my-style {
height: 700px
}
</style>
<DxPivotTable Data="SalesData"
CssClass="my-style">
<Fields>
@*...*@
</Fields>
</DxPivotTable>
See Also