Table of Contents

Method AddCancelButton

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

AddCancelButton()

Adds a "Cancel" button to the dialog if one does not already exist.

public virtual void AddCancelButton()

Remarks

The "Cancel" button triggers the OnCancelButtonClicked(DialogCloseAction) method when clicked, passing CancelButton as the action. If a "Cancel" button already exists, this method does nothing.