Method AddPicture
AddPicture(SvgImage?, Action?)
Adds a picture to the toolbar.
public virtual SimpleToolBarView.IToolBarItem AddPicture(SvgImage? image, Action? onClick = null)
Parameters
imageSvgImageThe image to display on the item.
onClickActionThe action to perform when the item is clicked.
Returns
- SimpleToolBarView.IToolBarItem
The created item.