Method AddButtonCancel
AddButtonCancel(Action?)
Adds a 'Cancel' button to the toolbar.
public virtual SimpleToolBarView.IToolBarItem AddButtonCancel(Action? onClick = null)
Parameters
onClick
ActionThe action to perform when the button is clicked.
Returns
- SimpleToolBarView.IToolBarItem
The created button item.