What doesn't fit
Since 0.1.0-alpha.13
The members for what doesn't fit, and the types they use. Every member of
IzzyBlazor.Toolbar is on the Toolbar API.
Properties (3)
Wrapbool = falseWraps onto more rows instead of moving items into a "…" menu, for toolbars where everything must show.
CollapseLabelsbool = falseBefore anything moves into the "…" menu, buttons and menus with a StartIcon drop their text, all at once, and show only the icon (a menu keeps its chevron). The text stays for screen readers and, with script, is the tooltip. Items move into the menu only once that isn't enough. One with ToolbarOverflow.Never, such as the main action, keeps its text.
MoreLabelstring? = "More actions"The "…" button's name for screen readers and its tooltip. Defaults to "More actions".
Parts (6)
Components written inside Toolbar, and the columns' members, which PropertyColumn and TemplateColumn share.
ToolbarButton
A Button in a Toolbar or a ToolbarButtonGroup. In the "…" menu it's a menu item with the same link, form post and OnClick; a toggle (Pressed) is a checkbox item there.
Priorityint = 0Which items stay longest when there's no room: higher stays longer. Defaults to 0. Items with the same priority move into the menu from the middle of the toolbar outward.
OverflowToolbarOverflow = ToolbarOverflow.AutoWhen it moves into the "…" menu: ToolbarOverflow.Never for the main action, ToolbarOverflow.Always for what only the menu needs. Defaults to ToolbarOverflow.Auto.
StartIconIconData?An icon before the text.
Plus 16 item props and 4 common props.
ToolbarIconButton
An IconButton in a Toolbar or a ToolbarButtonGroup. In the "…" menu it's a menu item with its icon, its Label as text, and the same link, form post and OnClick; a toggle (Pressed) is a checkbox item there.
Priorityint = 0Which items stay longest when there's no room: higher stays longer. Defaults to 0. Items with the same priority move into the menu from the middle of the toolbar outward.
OverflowToolbarOverflow = ToolbarOverflow.AutoWhen it moves into the "…" menu: ToolbarOverflow.Never for the main action, ToolbarOverflow.Always for what only the menu needs. Defaults to ToolbarOverflow.Auto.
Plus 16 item props and 4 common props.
ToolbarButtonGroup
A ButtonGroup in a Toolbar, holding ToolbarButtons and ToolbarIconButtons. It moves into the "…" menu as one, as a group named by its Label.
Priorityint = 0Which items stay longest when there's no room: higher stays longer. Defaults to 0. Items with the same priority move into the menu from the middle of the toolbar outward.
OverflowToolbarOverflow = ToolbarOverflow.AutoWhen it moves into the "…" menu: ToolbarOverflow.Never for the main action, ToolbarOverflow.Always for what only the menu needs. Defaults to ToolbarOverflow.Auto.
Plus 16 item props and 4 common props.
ToolbarSplitButton
A SplitButton in a Toolbar. In the "…" menu it's a submenu named by its MenuLabel, with the main action as its first item, then the same items; with MenuDisabled it's just the main action.
Priorityint = 0Which items stay longest when there's no room: higher stays longer. Defaults to 0. Items with the same priority move into the menu from the middle of the toolbar outward.
OverflowToolbarOverflow = ToolbarOverflow.AutoWhen it moves into the "…" menu: ToolbarOverflow.Never for the main action, ToolbarOverflow.Always for what only the menu needs. Defaults to ToolbarOverflow.Auto.
StartIconIconData?An icon before the main button's text.
Plus 16 item props and 4 common props.
ToolbarItem
Anything that isn't a toolbar control, in a Toolbar: a search field, a SegmentedControl, a Tooltip around a button. Give it a Width, so the widths without script allow for it, and MenuContent for what stands in for it in the "…" menu; without that, it stays in the bar.
Priorityint = 0Which items stay longest when there's no room: higher stays longer. Defaults to 0. Items with the same priority move into the menu from the middle of the toolbar outward.
OverflowToolbarOverflow = ToolbarOverflow.AutoWhen it moves into the "…" menu: ToolbarOverflow.Never for the main action, ToolbarOverflow.Always for what only the menu needs. Defaults to ToolbarOverflow.Auto.
Plus 16 item props and 4 common props.
Types (1)
ToolbarOverflow
enumWhen an item of a Toolbar moves into its "…" menu.
| Value | Description |
|---|---|
Auto | When there's no room for it, in order of |
Never | Never: it stays in the bar, such as the main action. |
Always | Always: it's only in the menu, such as Print or Version history. |