Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

LayoutComponentBase.Body Property

Definition

Namespace:
Microsoft.AspNetCore.Components
Assembly:
Microsoft.AspNetCore.Components.dll
Package:
Microsoft.AspNetCore.Components v10.0.0
Package:
Microsoft.AspNetCore.Components v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Components v3.0.3
Package:
Microsoft.AspNetCore.Components v3.1.18
Package:
Microsoft.AspNetCore.Components v5.0.9
Package:
Microsoft.AspNetCore.Components v6.0.6
Package:
Microsoft.AspNetCore.Components v7.0.5
Package:
Microsoft.AspNetCore.Components v8.0.19
Package:
Microsoft.AspNetCore.Components v9.0.8
Source:
LayoutComponentBase.cs
Source:
LayoutComponentBase.cs
Source:
LayoutComponentBase.cs
Source:
LayoutComponentBase.cs
Source:
LayoutComponentBase.cs
Source:
LayoutComponentBase.cs
Source:
LayoutComponentBase.cs
Source:
LayoutComponentBase.cs
Source:
LayoutComponentBase.cs

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 the content to be rendered inside the layout.

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

Property Value

Attributes

Applies to


Feedback

Was this page helpful?