VpnCustomPromptBooleanInput VpnCustomPromptBooleanInput VpnCustomPromptBooleanInput VpnCustomPromptBooleanInput Class

Definition

Represents a Boolean type of UI control prompt required from the user. This is typically a checkbox. This is used in the construction of custom prompts used in the VpnChannel.RequestCustomPromptAsync method.

public : sealed class VpnCustomPromptBooleanInput : IVpnCustomPromptBooleanInput, IVpnCustomPromptElementpublic sealed class VpnCustomPromptBooleanInput : IVpnCustomPromptBooleanInput, IVpnCustomPromptElementPublic NotInheritable Class VpnCustomPromptBooleanInput Implements IVpnCustomPromptBooleanInput, IVpnCustomPromptElement// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Constructors

VpnCustomPromptBooleanInput() VpnCustomPromptBooleanInput() VpnCustomPromptBooleanInput() VpnCustomPromptBooleanInput()

Constructs an object representing the Boolean input UI element to be used in the VpnChannel.RequestCustomPromptAsync method.

public : VpnCustomPromptBooleanInput()public VpnCustomPromptBooleanInput()Public Sub New()// This API is not available in Javascript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Properties

Compulsory Compulsory Compulsory Compulsory

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

public : PlatForm::Boolean Compulsory { get; set; }public bool Compulsory { get; set; }Public ReadWrite Property Compulsory As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

If the user must provide some input, it is TRUE; otherwise, it is FALSE.

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

DisplayName DisplayName DisplayName DisplayName

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

public : PlatForm::String DisplayName { get; set; }public string DisplayName { get; set; }Public ReadWrite Property DisplayName As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The text label of the input UI element.

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

Emphasized Emphasized Emphasized Emphasized

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

public : PlatForm::Boolean Emphasized { get; set; }public bool Emphasized { get; set; }Public ReadWrite Property Emphasized As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

If the input UI element is emphasized, it is TRUE; otherwise , it is FALSE.

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

InitialValue InitialValue InitialValue InitialValue

Gets or sets whether the initial Boolean value displayed to the user is true or false.

public : PlatForm::Boolean InitialValue { get; set; }public bool InitialValue { get; set; }Public ReadWrite Property InitialValue As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

The initial Boolean value displayed to the user, TRUE or FALSE.

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

Value Value Value Value

Gets the value selected by the user.

public : PlatForm::Boolean Value { get; }public bool Value { get; }Public ReadOnly Property Value As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

The value selected by the user.

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