Xamarin.Forms.Page.DisplayActionSheet Method
Displays a native platform action sheet, allowing the application user to choose from several buttons.

Syntax

public System.Threading.Tasks.Task<string> DisplayActionSheet (string title, string cancel, string destruction, params string[] buttons)

Parameters

title
Title of the displayed action sheet.
cancel
Text to be displayed in the 'Cancel' button.
destruction
Text to be displayed in the 'Destruct' button.
buttons
Text labels for additional buttons.

Returns

An awaitable Task that displays an action sheet and returns the Text of the button pressed by the user.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0