DropDownButtonBase
The base class for DropDownButton.
Definition
Namespace:Telerik.Blazor.Components.Common.Buttons.DropDownButton
Assembly:Telerik.Blazor.dll
Syntax:
public abstract class DropDownButtonBase : ButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IPopupContainer
Inheritance: objectComponentBaseBaseComponentButtonBaseDropDownButtonBase
Derived Classes:
Implements:
Inherited Members
Constructors
protected DropDownButtonBase()
Properties
Displays an icon, such as "ArrowRight", after the main button content. On a DropDownButton it appears before the menu arrow; on a SplitButton it appears only on the primary action.
Use EndIconVariant to select an SVG variant.
[Parameter]
public object EndIcon { get; set; }
Specifies the SVG variant for EndIcon. When null, empty, or unsupported, the icon's default SVG content is rendered. Font and custom CSS icons are unaffected.
[Parameter]
public string EndIconVariant { get; set; }
The Click handler of the button.
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }
Methods
Closes the dropdown popup programmatically. Fires the OnClose event, which can cancel the closing.
Moves focus to the component.
Opens the dropdown popup programmatically. Fires the OnOpen event, which can cancel the opening.