RouteView Class

Definition

Displays the specified page component, rendering it inside its layout and any further nested layouts.

public ref class RouteView : Microsoft::AspNetCore::Components::IComponent
public class RouteView : Microsoft.AspNetCore.Components.IComponent
type RouteView = class
    interface IComponent
Public Class RouteView
Implements IComponent
Inheritance
RouteView
Derived
Implements

Constructors

RouteView()

Properties

DefaultLayout

Gets or sets the type of a layout to be used if the page does not declare any layout. If specified, the type must implement IComponent and accept a parameter named Body.

RouteData

Gets or sets the route data. This determines the page that will be displayed and the parameter values that will be supplied to the page.

Methods

Attach(RenderHandle)
Render(RenderTreeBuilder)

Renders the component.

SetParametersAsync(ParameterView)

Applies to