Udostępnij za pośrednictwem


VpnCustomPromptTextInput.PlaceholderText Property

Definition

Gets or sets the text that is displayed as grayed out when the text input UI element does not contain any text typed by the user. This can be sample text.

public:
 property Platform::String ^ PlaceholderText { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring PlaceholderText();

void PlaceholderText(winrt::hstring value);
public string PlaceholderText { get; set; }
var string = vpnCustomPromptTextInput.placeholderText;
vpnCustomPromptTextInput.placeholderText = string;
Public Property PlaceholderText As String

Property Value

String

Platform::String

winrt::hstring

Sample text that is displayed as grayed out when the text input UI element does not contain any text typed by the user.

Windows requirements

App capabilities
networkingVpnProvider

Applies to