Table of Contents

Method AddButtonCancel

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

AddButtonCancel(Action?)

Adds a 'Cancel' button to the toolbar.

public virtual SimpleToolBarView.IToolBarItem AddButtonCancel(Action? onClick = null)

Parameters

onClick Action

The action to perform when the button is clicked.

Returns

SimpleToolBarView.IToolBarItem

The created button item.