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 to this section

RadzenBody component.

Declaration
public RadzenBody()

Properties

ExpandedLink to this section

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 to this section

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 to this section

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 to this section

Gets or sets the style.

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

Methods

BuildRenderTreeLink to this section

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

DisposeLink to this section

Declaration
public override void Dispose()

GetComponentCssClassLink to this section

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

GetStyleLink to this section

Gets the style.

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

OnInitializedAsyncLink to this section

Declaration
protected override Task OnInitializedAsync()
Returns
Type Description
Task

ToggleLink to this section

Toggles this instance width and left margin.

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