Class
TelerikToolBar

The class for the Telerik ToolBar component.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class TelerikToolBar : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentTelerikToolBar

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.Dispose()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.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.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TelerikToolBar()

Declaration

cs-api-definition
public TelerikToolBar()

Properties

Adaptive

Defines if the Toolbar should adapt to the available space and automatically show overflowing items in a popup. The default value is true.

Declaration

cs-api-definition
[Parameter]
public bool Adaptive { get; set; }

Property Value

bool

AriaControls

Defines the aria-controls attribute of the toolbar.

Declaration

cs-api-definition
[Parameter]
public string AriaControls { get; set; }

Property Value

string

AriaLabel

Defines the aria-label attribute of the toolbar.

Declaration

cs-api-definition
[Parameter]
public string AriaLabel { get; set; }

Property Value

string

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

FillMode

Defines the FillMode of the toolbar. Default value is Solid.

Declaration

cs-api-definition
[Parameter]
public string FillMode { get; set; }

Property Value

string

RenderComponentClass

Declaration

cs-api-definition
[CascadingParameter(Name = "RenderComponentClass")]
public bool RenderComponentClass { get; set; }

Property Value

bool

RenderDivWrappers

Declaration

cs-api-definition
[CascadingParameter(Name = "RenderDivWrappers")]
public bool RenderDivWrappers { get; set; }

Property Value

bool

Size

Defines the Size of the toolbar. Default value is Medium.

Declaration

cs-api-definition
[Parameter]
public string Size { get; set; }

Property Value

string

TabIndex

Defines the tabindex passed to the inner elements of the component. Toolbar implements a roving tabindex method for navigation.

Declaration

cs-api-definition
[Parameter]
public int TabIndex { get; set; }

Property Value

int

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

GetSkippedOverflowItemIndexes()

Declaration

cs-api-definition
public IEnumerable<int> GetSkippedOverflowItemIndexes()

Returns

IEnumerable<int>

OnAfterRenderAsync(bool)

Declaration

cs-api-definition
protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides BaseComponent.OnAfterRenderAsync(bool)