VpnCustomPromptOptionSelector VpnCustomPromptOptionSelector VpnCustomPromptOptionSelector VpnCustomPromptOptionSelector Class

Definition

Represents a multiple choice UI control prompt required from the user. This is typically a combo box. This is used in the construction of custom prompts used in the VpnChannel.RequestCustomPromptAsync method.

public : sealed class VpnCustomPromptOptionSelector : IVpnCustomPromptElement
struct winrt::Windows::Networking::Vpn::VpnCustomPromptOptionSelector : IVpnCustomPromptElement
public sealed class VpnCustomPromptOptionSelector : IVpnCustomPromptElement
Public NotInheritable Class VpnCustomPromptOptionSelector Implements IVpnCustomPromptElement
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Constructors

VpnCustomPromptOptionSelector() VpnCustomPromptOptionSelector() VpnCustomPromptOptionSelector() VpnCustomPromptOptionSelector()

Constructs an object representing a multiple choice UI element to be used in the VpnChannel.RequestCustomPrompt method.

Properties

Compulsory Compulsory Compulsory Compulsory

Gets or sets whether the user must provide some text input in this element before the UI flow of the can continue (the next button is grayed out).

DisplayName DisplayName DisplayName DisplayName

Gets or sets the text label of the text input UI element.

Emphasized Emphasized Emphasized Emphasized

Gets or sets whether the input UI element is emphasized or not

Options Options Options Options

Gets the list of strings that are presented as choices for the multiple choice UI element. The plug-in is expected to retrieve the list, and fill it with the strings needed (in the order that they are to be presented).

SelectedIndex SelectedIndex SelectedIndex SelectedIndex

Gets the index into the options string vector of the option selected by the user.

See also