Class RadzenBody
RadzenBody component.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenBody : RadzenComponentWithChildren, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
RadzenBody()
RadzenBody component.
Declaration
public RadzenBody()
Properties
Expanded
Gets or sets a value indicating whether this RadzenBody is expanded.
Declaration
[Parameter]
public bool Expanded { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
ExpandedChanged
Gets or sets a callback raised when the component is expanded or collapsed.
Declaration
[Parameter]
public EventCallback<bool> ExpandedChanged { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<bool> | The expanded changed callback. |
Layout
The RadzenLayout this component is nested in.
Declaration
[CascadingParameter]
public RadzenLayout Layout { get; set; }
Property Value
Type | Description |
---|---|
RadzenLayout |
Style
Gets or sets the style.
Declaration
[Parameter]
public override string Style { get; set; }
Property Value
Type | Description |
---|---|
string | The style. |
Overrides
Methods
BuildRenderTree(RenderTreeBuilder)
RadzenBody component.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
Dispose()
Detaches event handlers and disposes Reference.
Declaration
public override void Dispose()
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
string |
Overrides
GetStyle()
Gets the style.
Declaration
protected string GetStyle()
Returns
Type | Description |
---|---|
string | System.String. |
OnInitializedAsync()
RadzenBody component.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
Task |
Overrides
Toggle()
Toggles this instance width and left margin.
Declaration
public void Toggle()