Method AddMoreActionsButton
AddMoreActionsButton(Action?)
Adds a "More Actions" button to the toolbar, optionally specifying a callback to invoke when the button is clicked.
public virtual SimpleToolBarView.IToolBarItem AddMoreActionsButton(Action? onClick = null)
Parameters
onClickActionAn optional action to execute when the "More Actions" button is clicked. If null, no action is performed on click.
Returns
- SimpleToolBarView.IToolBarItem
An SimpleToolBarView.IToolBarItem representing the newly added "More Actions" button.
Remarks
The "More Actions" button is typically used to provide access to additional options or features related to the toolbar's context. Call AddExpandingSpace() before adding "More Actions" button in order to align it to the right side of the toolbar.