LayoutComponentBase.Body 属性

定义

获取要呈现在布局内的内容。

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

属性值

属性

适用于