Skip to main content
All docs
V25.1
  • DxPivotTable.CssClass Property

    Assigns a CSS class to the Pivot Table.

    Namespace: DevExpress.Blazor.PivotTable

    Assembly: DevExpress.Blazor.PivotTable.v25.1.dll

    NuGet Package: DevExpress.Blazor.PivotTable

    Declaration

    [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.

    @rendermode InteractiveServer
    
    <style>
        .my-style {
            height: 700px
        }
    </style>
    
    <DxPivotTable Data="SalesData"
                  CssClass="my-style">
        <Fields>
            @*...*@
        </Fields>
    </DxPivotTable>
    

    Implements

    See Also