Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxViewer.RootCssClasses Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.Viewer.dll

NuGet Package: DevExpress.Blazor.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.

razor
<DxReportViewer @ref="reportViewer"
                Report="Report"
                RootCssClasses="vh-100" />

View Example: Report Viewer for Blazor - Customization API

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

See Also