Table of Contents

Method AddPicture

Namespace
Alternet.Maui
Assembly
Alternet.UI.Maui.dll

AddPicture(SvgImage?, Action?)

Adds a picture to the toolbar.

public virtual SimpleToolBarView.IToolBarItem AddPicture(SvgImage? image, Action? onClick = null)

Parameters

image SvgImage

The image to display on the item.

onClick Action

The action to perform when the item is clicked.

Returns

SimpleToolBarView.IToolBarItem

The created item.