Skip to main content
A newer version of this page is available. .
All docs
V21.2

DxReportViewer.RootCssClasses Property

Specifies the names of the CSS classes that apply to the outside DIV of the component markup.

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v21.2.Viewer.dll

NuGet Package: DevExpress.Blazor.Reporting.Viewer

Declaration

[Parameter]
public string RootCssClasses { get; set; }

Property Value

Type Description
String

The CSS class names separated with a space.

Remarks

You can specify multiple CSS classes defined in the application theme for the DxReportViewer component. The default value is border border-secondary shadow rounded.

<div @ref="viewerComponent" style="width: 100%; height: 100%;">
    <DxReportViewer @ref="reportViewer"
                    OnCustomizeToolbar="OnCustomizeToolbar"
                    SizeMode="@DevExpress.Blazor.SizeMode.Medium"
                    Zoom="1.25"
                    Report="Report"
                    RootCssClasses="w-100 h-100" />
</div>

View Example: Report Viewer for Blazor - Customization API

For more information, review the following help topic: CSS Classes.

See Also