Table of Contents

Method AddButtonOk

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

AddButtonOk(Action?)

Adds an 'Ok' button to the toolbar.

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

Parameters

onClick Action

The action to perform when the button is clicked.

Returns

SimpleToolBarView.IToolBarItem

The created button item.