New to Telerik UI for BlazorStart a free 30-day trial

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public abstract class ToolBarButtonBase : ToolBarItemBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IToolBarItem

Inheritance: objectComponentBaseBaseComponentToolBarItemBaseToolBarButtonBase

Derived Classes: ToolBarButtonToolBarToggleButton

Implements: IComponentIDisposableIHandleAfterRenderIHandleEventIToolBarItem

Inherited Members ToolBarItemBase.SetParametersAsync(ParameterView)ToolBarItemBase.OnAfterRenderAsync(bool)ToolBarItemBase.Dispose()ToolBarItemBase.VisibleBaseComponent.ShouldRender()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeVoidAsyncWithoutAwait(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)...

Constructors

C#
protected ToolBarButtonBase()

Methods

C#
protected override Task OnInitializedAsync()
Returns:

Task

Overrides: ToolBarItemBase.OnInitializedAsync()

Properties

[Accessibility] Sets aria-describedby attribute to the element.

C#
[Parameter]
public string AriaDescribedBy { get; set; }

[Accessibility] Sets aria-label attribute to the element.

C#
[Parameter]
public string AriaLabel { get; set; }

[Accessibility] Sets aria-labelledby attribute to the element.

C#
[Parameter]
public string AriaLabelledBy { get; set; }

Specifies the ChildContent of the item.

C#
[Parameter]
public RenderFragment ChildContent { get; set; }

Specifies whether the item is enabled or not.

C#
[Parameter]
public bool Enabled { get; set; }

Specifies the fill mode of the button. Default value is Solid.

C#
[Parameter]
public string FillMode { get; set; }

Specifies an icon rendered in the item. 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; }

Triggers when the button is clicked.

C#
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }

Specifies how the ToolBar item overflows. Default value is Auto.

C#
[Parameter]
public ToolBarItemOverflow Overflow { get; set; }

Specifies the text of the item in the overflow popup. If not specified, it will fallback to the default item's text.

C#
[Parameter]
public string OverflowText { get; set; }

Specifies the roundness of the button. Default value is Medium.

C#
[Parameter]
public string Rounded { get; set; }

Specifies the theme color of the button. Default value is Base.

C#
[Parameter]
public string ThemeColor { get; set; }

[Accessibility] Specifies the title of the item.

C#
[Parameter]
public string Title { get; set; }