ClassTelerikToolBar
A responsive toolbar that hosts buttons, toggle buttons, templates, and separators with overflow and optional scrolling. Define items in ChildContent; configure size/fill via Size and FillMode; set overflow behavior with ToolBarOverflowMode through OverflowMode (Menu/Section/Scroll/None). For scrollable toolbars, control buttons with ScrollButtonsVisibility and ScrollButtonsPosition. Accessibility attributes: AriaLabel, AriaControls, and roving TabIndex. Children: ToolBarButtonGroup, ToolBarButton, ToolBarToggleButton, ToolBarSpacer, ToolBarSeparator.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikToolBar : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikToolBar
Implements:
Inherited Members
Constructors
TelerikToolBar()
Declaration
public TelerikToolBar()
Properties
AriaControls
Defines the aria-controls attribute of the toolbar.
Declaration
[Parameter]
public string AriaControls { get; set; }
Property Value
AriaLabel
Defines the aria-label attribute of the toolbar.
Declaration
[Parameter]
public string AriaLabel { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
FillMode
Defines the FillMode of the toolbar. Default value is Solid.
Declaration
[Parameter]
public string FillMode { get; set; }
Property Value
OverflowMode
Defines how the items of the ToolBar overflow ToolBarOverflowMode.
Declaration
[Parameter]
public ToolBarOverflowMode OverflowMode { get; set; }
Property Value
RenderComponentClass
Declaration
[CascadingParameter(Name = "RenderComponentClass")]
public bool RenderComponentClass { get; set; }
Property Value
RenderDivWrappers
Declaration
[CascadingParameter(Name = "RenderDivWrappers")]
public bool RenderDivWrappers { get; set; }
Property Value
ScrollButtonsPosition
Specifies the position of the buttons when the ToolBar is Scrollable. Default value is Split.
Declaration
[Parameter]
public ToolBarScrollButtonsPosition ScrollButtonsPosition { get; set; }
Property Value
ScrollButtonsVisibility
Specifies the visibility of the buttons when the ToolBar is Scrollable. Default value is Auto.
Declaration
[Parameter]
public ToolBarScrollButtonsVisibility ScrollButtonsVisibility { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
GetSkippedOverflowItemIndexes()
Declaration
public IEnumerable<int> GetSkippedOverflowItemIndexes()
Returns