RadzenSidebarToggle component.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponent.SetParametersAsync
RadzenComponent.OnAfterRenderAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenSidebarToggle : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRenderGets or sets the click callback.
public EventCallback<EventArgs> Click { get; set; }
| Type | Description |
|---|---|
| EventCallback<EventArgs> | Gets or sets the click callback. |
Gets or sets the icon.
public string Icon { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the icon. |
Gets or sets the add button aria-label attribute.
public string ToggleAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the add button aria-label attribute. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override string GetComponentCssClass()
| Type | Description |
|---|---|
| string |
Handles the click event.
public Task OnClick(EventArgs args)
| Type | Name | Description |
|---|---|---|
| EventArgs | args | The EventArgs instance containing the event data. |
| Type | Description |
|---|---|
| Task |