Class RadzenBody
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
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
GetStyle()
Gets the style.
protected string GetStyle()
Returns
- string
System.String.
OnInitializedAsync()
protected override Task OnInitializedAsync()
Returns
Toggle()
Toggles this instance width and left margin.
public void Toggle()