.NET MAUI Group ToolbarItem
Represents a group of toolbar items in the Toolbar control. The group works as a container of its child toolbar items keeping them in one place. For instance, when the group does not fit in the main strip area of the toolbar, all child toolbar items are moved to the overflow area together.
Another use is to create two or more independent sets of radio buttons in the toolbar. Normally, only one radio button can be selected at a time. To create independent sets of radio buttons, they can be placed in separate groups.
The exposed property is:
-
Items
(IList<ToolbarItem>
)—Read-only collection ofTelerik.Maui.Controls.ToolbarItems
to display in the group.
Styling
GroupToolbarItem
has a Style
property with target type GroupToolbarItemView
. The properties exposed in the GroupToolbarItem
are:
-
ItemSpacing
(double
)—Specifies the spacing in pixels between the toolbar items in the group. -
ItemsSource
(IList
)—Specifies a collection of toolbar items to be placed in the group.
All other properties that can be applied through style are the properties exposed for ToolbarItemView.