TelerikToolBar
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
public TelerikToolBar()
Properties
[Accessibility] Defines the aria-controls attribute of the toolbar.
[Parameter]
public string AriaControls { get; set; }
[Accessibility] Defines the aria-label attribute of the toolbar.
[Parameter]
public string AriaLabel { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
Defines the FillMode of the toolbar.
[Parameter]
public string FillMode { get; set; }
Defines how the items of the ToolBar overflow ToolBarOverflowMode.
[Parameter]
public ToolBarOverflowMode OverflowMode { get; set; }
[CascadingParameter(Name = "RenderComponentClass")]
public bool RenderComponentClass { get; set; }
[CascadingParameter(Name = "RenderDivWrappers")]
public bool RenderDivWrappers { get; set; }
Specifies the position of the buttons when the ToolBar is Scrollable. Default value is Split.
[Parameter]
public ToolBarScrollButtonsPosition ScrollButtonsPosition { get; set; }
Specifies the visibility of the buttons when the ToolBar is Scrollable. Default value is Auto.
[Parameter]
public ToolBarScrollButtonsVisibility ScrollButtonsVisibility { get; set; }
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides: