RenderMode Enum

Definition

Describes the render mode of the component.

public enum class RenderMode
public enum RenderMode
type RenderMode = 
Public Enum RenderMode
Inheritance
RenderMode

Fields

Name Value Description
Static 1

Renders the component into static HTML.

Server 2

Renders a marker for a Blazor server-side application. This doesn't include any output from the component. When the user-agent starts, it uses this marker to bootstrap a blazor application.

ServerPrerendered 3

Renders the component into static HTML and includes a marker for a Blazor server-side application. When the user-agent starts, it uses this marker to bootstrap a blazor application.

WebAssembly 4

Renders a marker for a Blazor webassembly application. This doesn't include any output from the component. When the user-agent starts, it uses this marker to bootstrap a blazor client-side application.

WebAssemblyPrerendered 5

Renders the component into static HTML and includes a marker for a Blazor webassembly application. When the user-agent starts, it uses this marker to bootstrap a blazor client-side application.

Remarks

The rendering mode determines how the component gets rendered on the page. It configures whether the component is prerendered into the page or not and whether it simply renders static HTML on the page or if it includes the necessary information to bootstrap a Blazor application from the user agent.

Applies to