UserPrompt Class

A simple dialog that a document shows to the user (see BrowsingContextOptions.UserPromptHandler).

public sealed class UserPrompt

Properties

NameDescription
DefaultValueGets the default value of the text of a UserPromptType.Prompt dialog, else the empty string.
MessageGets the message of the dialog (empty for UserPromptType.BeforeUnload: the browsers do not show the message of the document).
TypeGets the kind of the dialog.

DefaultValue

UserPrompt.cs

Gets the default value of the text of a UserPromptType.Prompt dialog, else the empty string.

public string DefaultValue { get; }

Property value

string

Gets the message of the dialog (empty for UserPromptType.BeforeUnload: the browsers do not show the message of the document).

public string Message { get; }

Property value

string

Gets the kind of the dialog.

public UserPromptType Type { get; }

Property value

UserPromptType