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:
C#
public abstract class DropDownButtonBaseItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDropDownButtonBaseItem
Derived Classes:
Implements:
Inherited Members
Constructors
C#
protected DropDownButtonBaseItem()
Methods
C#
public void Dispose()
Implements:
C#
public override Task SetParametersAsync(ParameterView parameters)
Overrides:
Properties
The template of the item.
C#
[Parameter]
public RenderFragment ChildContent { get; set; }
The CSS class that will be rendered on the main element.
C#
[Parameter]
public string Class { get; set; }
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.
C#
[Parameter]
public object Icon { get; set; }
The click handler of the item.
C#
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }