A component that lets you render a primary action with a dropdown of related commands. Supports custom main button content, item containers and popup settings, optional arrow button, and JS initialization for interactions.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikDropDownButton : DropDownButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IPopupContainer
Inheritance: objectComponentBaseBaseComponentButtonBaseDropDownButtonBaseTelerikDropDownButton...
Implements:
Inherited Members
Constructors
public TelerikDropDownButton()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
public override void Dispose()
Overrides:
Properties
Defines the content of the main DropDownButton action button. Children: allows arbitrary content.
[Parameter]
public RenderFragment DropDownButtonContent { get; set; }
Defines the container tag for the dropdown buttons items.See DropDownButtonItem. Children: DropDownButtonItem.
[Parameter]
public RenderFragment DropDownButtonItems { get; set; }
Defines the container tag for additional DropDownButton settings. The parameters should be set in a DropDownButtonPopupSettings tag. Children: DropDownButtonPopupSettings.
[Parameter]
public RenderFragment DropDownButtonSettings { get; set; }
Defines whether to render an arrow button for opening the DropDownButton. Default value is true.
[Parameter]
public bool ShowArrowButton { get; set; }