PromptArguments Class

Definition

Arguments for a prompt dialog.

public ref class PromptArguments
public class PromptArguments
type PromptArguments = class
Public Class PromptArguments
Inheritance
PromptArguments

Constructors

Name Description
PromptArguments(String, String, String, String, String, Int32, Keyboard, String)

Creates a new PromptArguments with the specified parameters.

Properties

Name Description
Accept

Gets the text for the accept button.

Cancel

Gets the text for the cancel button.

InitialValue

Gets the initial value for the input field.

Keyboard

Gets the keyboard type for the input field.

MaxLength

Gets the maximum input length, or -1 for no limit.

Message

Gets the message for the prompt.

Placeholder

Gets the placeholder text for the input field.

Result

Gets the task completion source for the user's input.

Title

Gets the title for the prompt.

Methods

Name Description
SetResult(String)

Sets the result of the prompt.

Applies to