Class RadzenSidebarToggle
RadzenSidebarToggle component.
Implements
IDisposable
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenSidebarToggle : RadzenComponent, IDisposable
Properties
Click
Gets or sets the click callback.
Declaration
public EventCallback<EventArgs> Click { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<EventArgs> | The click callback. |
Icon
Gets or sets the icon.
Declaration
public string Icon { get; set; }
Property Value
Type | Description |
---|---|
System.String | The icon. |
ToggleAriaLabel
Gets or sets the add button aria-label attribute.
Declaration
public string ToggleAriaLabel { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
System.String |
Overrides
OnClick(EventArgs)
Handles the Click event.
Declaration
public async System.Threading.Tasks.Task OnClick(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | args | The |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Implements
IDisposable