RouteView.DefaultLayout Property

Definition

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.

public:
 property Type ^ DefaultLayout { Type ^ get(); void set(Type ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public Type DefaultLayout { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.DefaultLayout : Type with get, set
Public Property DefaultLayout As Type

Property Value

Attributes

Applies to