Table of Contents

Class ReportViewer

Namespace
ReportWright.Blazor.Viewer
Assembly
ReportWright.Blazor.Viewer.dll

The report viewer component's code-behind: parameters, JavaScript interop and gesture forwarding.

public class ReportViewer : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IAsyncDisposable
Inheritance
ReportViewer
Implements
Inherited Members

Constructors

ReportViewer()

Properties

AutoRun

Gets or sets whether the report runs as soon as its prompts are resolved.

Backend

Gets or sets the backend, used when State is not supplied; when both are absent the registered ReportViewerBackend service is used, which is how an interactive component inside a statically rendered page finds it.

CssClass

Gets or sets extra classes on the root element.

HideSuppliedParameters

Gets or sets whether host-supplied parameters are kept out of the parameter bar.

OnHyperlink

Raised when a hyperlink in the report is activated; when unset the viewer opens it in a new tab.

Parameters

Gets or sets parameter values the host supplies.

Path

Gets or sets the report to show. A change loads and runs it.

ShowToolbar

Gets or sets whether the toolbar is shown.

State

Gets or sets the state the component renders. One is created over Backend when none is given.

Strings

Gets or sets the chrome strings.

Theme

Gets or sets the theme: null follows the system, or "light", "dark", "high-contrast".

Methods

BuildRenderTree(RenderTreeBuilder)
DisposeAsync()
OnAfterRenderAsync(bool)
OnInitialized()
OnParametersSetAsync()