Table of Contents

Class RadzenBody

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

RadzenBody component.

public class RadzenBody : RadzenComponentWithChildren, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
RadzenBody
Implements
Inherited Members

Constructors

RadzenBody()

public RadzenBody()

Properties

Expanded

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

[Parameter]
public bool Expanded { get; set; }

Property Value

bool

true if expanded; otherwise, false.

ExpandedChanged

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

[Parameter]
public EventCallback<bool> ExpandedChanged { get; set; }

Property Value

EventCallback<bool>

The expanded changed callback.

Layout

The RadzenLayout this component is nested in.

[CascadingParameter]
public RadzenLayout Layout { get; set; }

Property Value

RadzenLayout

Style

Gets or sets the style.

[Parameter]
public override string Style { get; set; }

Property Value

string

The style.

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Dispose()

public override void Dispose()

GetComponentCssClass()

protected override string GetComponentCssClass()

Returns

string

GetStyle()

Gets the style.

protected string GetStyle()

Returns

string

System.String.

OnInitializedAsync()

protected override Task OnInitializedAsync()

Returns

Task

Toggle()

Toggles this instance width and left margin.

public void Toggle()