.NET MAUI SplitButton ToolbarItem
Add a split button in the toolbar using the SplitButtonToolbarItem
. The toolbar item inherits from the DropDownMenuButtonToolbarItem
.
The exposed property is Items
(of type IList<ToolbarItem>
)—Read-only collection of ToolbarItems
to display in the drop-down menu.
DropDownMenuButtonToolbarItem
inherits fromDropDownButtonToolbarItem
. You can apply all properties from theDropDownButtonToolbarItem
to theSplitButtonToolbarItem
. The properties are described in the DropDownButton ToolbarItem article.
Styling
SplitButtonToolbarItem
has Style
property with target type SplitButtonToolbarItemView
.
The properties that can be applied through style are the properties applicable for DropDownButtonToolbarItemView, ButtonToolbarItemView, ToolbarItemView and LabelToolbarItemView.