ClassDropDownButtonBaseItem
A component that lets you define a reusable base item for DropDownButton menus.
Supports custom content, icons, enabled/disabled state, click handling, and notifies its container on parameter changes.
Definition
Namespace:Telerik.Blazor.Components.Common.Buttons.DropDownButton
Assembly:Telerik.Blazor.dll
Syntax:
public abstract class DropDownButtonBaseItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDropDownButtonBaseItem
Derived Classes:
Implements:
Inherited Members
Constructors
DropDownButtonBaseItem()
Declaration
protected DropDownButtonBaseItem()
Properties
ChildContent
The template of the item.
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Class
The CSS class that will be rendered on the main element.
Enabled
Whether the button is enabled.
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.
OnClick
The click handler of the item.
Declaration
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
Methods
Dispose()
Declaration
public void Dispose()
Implements
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides