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
protected DropDownButtonBaseItem()
Properties
The template of the item.
[Parameter]
public RenderFragment ChildContent { get; set; }
The CSS class that will be rendered on the main element.
[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.
[Parameter]
public object Icon { get; set; }
Specifies the SVG variant for Icon. When the value is null, empty, or unsupported, the icon's default SVG content is rendered. Font and custom CSS icons are unaffected.
[Parameter]
public string IconVariant { get; set; }
The click handler of the item.
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }
Methods
public void Dispose()
Implements:
public override Task SetParametersAsync(ParameterView parameters)
Overrides: