RouteView.DefaultLayout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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