IVpnCustomPromptElement IVpnCustomPromptElement IVpnCustomPromptElement IVpnCustomPromptElement Interface

Definition

Provides a common interface for all UI element objects used in the VpnChannel.RequestCustomPromptAsync method.

public : interface IVpnCustomPromptElementpublic interface IVpnCustomPromptElementPublic Interface IVpnCustomPromptElement// You can use this interface in JavaScript.
Attributes
Windows 10 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 object is required to receive input before continuing the UI flow.

public : PlatForm::Boolean Compulsory { get; set; }public bool Compulsory { get; set; }Public ReadWrite Property Compulsory As bool// You can use this property 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// You can use this property 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 UI element is emphasized (bordered) or not.

public : PlatForm::Boolean Emphasized { get; set; }public bool Emphasized { get; set; }Public ReadWrite Property Emphasized As bool// You can use this property 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