RadzenBody Class

RadzenBody component.

Inheritance

Object

ComponentBase

RadzenComponent

RadzenComponentWithChildren

RadzenBody

Implements

IComponent

IHandleEvent

IHandleAfterRender

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenBody : RadzenComponentWithChildren, IComponent, IHandleEvent, IHandleAfterRender

Constructors

RadzenBodylink

RadzenBody component.

Declaration
public RadzenBody()

Properties

Expandedlink

Gets or sets a value indicating whether this RadzenBody is expanded.

Declaration
public bool Expanded { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this RadzenBody is expanded.

ExpandedChangedlink

Gets or sets a callback raised when the component is expanded or collapsed.

Declaration
public EventCallback<bool> ExpandedChanged { get; set; }
Property Value
Type Description
EventCallback<bool>Gets or sets a callback raised when the component is expanded or collapsed.

Layoutlink

The RadzenLayout this component is nested in.

Declaration
public RadzenLayout Layout { get; set; }
Property Value
Type Description
RadzenLayoutThe RadzenLayout this component is nested in.

Stylelink

Gets or sets the style.

Declaration
public string Style { get; set; }
Property Value
Type Description
stringGets or sets the style.

Methods

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

Disposelink

Declaration
public override void Dispose()

GetComponentCssClasslink

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

GetStylelink

Gets the style.

Declaration
protected string GetStyle()
Returns
Type Description
stringSystem.String.

OnInitializedAsynclink

Declaration
protected override Task OnInitializedAsync()
Returns
Type Description
Task

Togglelink

Toggles this instance width and left margin.

Declaration
public void Toggle()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙