Toolbar
As defined by the W3C:
A toolbar is a container for grouping a set of controls, such as buttons, menubuttons, or checkboxes.
When a set of controls is visually presented as a group, the toolbar role can be used to communicate the presence and purpose of the grouping to screen reader users. Grouping controls into toolbars can also be an effective way of reducing the number of tab stops in the keyboard interface.
<FluentToolbar>
wraps the <fluent-toolbar>
element, a web component implementation of a toolbar leveraging the
Fluent UI design system.
Examples
Light and dark mode
Download:
Slotted end items with minimal width
Download:
Different kinds of labels
Slotted (span) label
External label
Invisible label
Download:
Vertical orientation
Download:
Disabled elements
Download:
RTL mode
Download:
Start and End slots
Download:
Documentation
FluentToolbar Class
Parameters
Name | Type | Default | Description |
---|---|---|---|
ChildContent | RenderFragment? | Gets or sets the content to be rendered inside the component. | |
EnableArrowKeyTextNavigation | bool? | False | Gets or sets a value indicating whether arrow key navigation within text input fields is enabled. Default is false. |
Orientation | Orientation? | Horizontal | Gets or sets the toolbar's orentation. See FluentToolbar.Orientation |
Methods
Name | Parameters | Type | Description |
---|---|---|---|
DisposeAsync | ValueTask |