Toolbars
Compact horizontal bars containing actions, typically used in editors or application headers.
Use this example to explore default behavior, customization points, and accessibility-friendly patterns in a real Blazor page.
Toolbars
MgToolbarCompact horizontal bars containing actions, typically used in editors or application headers.
API Reference
MgToolbar
| Property | Type | Default | Description |
|---|---|---|---|
| ToolItemClicked | EventCallback<MgToolbarItem> | - | Triggered when a toolbar item is clicked. |
| ToolbarIconSize | int | -1 | Optional icon size override for toolbar items. |
MgToolbarItem
| Property | Type | Default | Description |
|---|---|---|---|
| ActionName | string | "" | Logical action name emitted when clicked. |
| Clicked | EventCallback<string> | - | Optional callback invoked with the action string. |
| IsDisabled | bool | false | Disable interaction for this toolbar item. |