Class DropDownButtonBaseItem
The class for the DropDownButton base item.
Inheritance
Namespace: Telerik.Blazor.Components.Common.Buttons.DropDownButton
Assembly: Telerik.Blazor.dll
Syntax
public abstract class DropDownButtonBaseItem : ComponentBase, IDisposable
Constructors
DropDownButtonBaseItem()
Declaration
protected DropDownButtonBaseItem()
Properties
ChildContent
The template of the item.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Class
The CSS class that will be rendered on the main element.
Declaration
public string Class { get; set; }
Property Value
System.String
|
Enabled
Whether the button is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean
|
Icon
Specifies the icon rendered in the button. You can use either a predefined Telerik Icon or a custom one. Refer to Icons - Documentation for more information on how icons work.
Declaration
public object Icon { get; set; }
Property Value
System.Object
|
OnClick
The click handler of the item.
Declaration
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>
|
Methods
Dispose()
Declaration
public void Dispose()
OnAfterRender(Boolean)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean
firstRender
|
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
System.Threading.Tasks.Task
|
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|