VpnCustomPromptTextInput.PlaceholderText 屬性

定義

取得或設定文字輸入UI元素不包含使用者輸入的任何文字時,顯示為灰色的文字。 這可以是範例文字。

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

屬性值

String

Platform::String

winrt::hstring

當文字輸入 UI 元素不包含使用者輸入的任何文字時,顯示為灰色的範例文字。

Windows 需求

應用程式功能
networkingVpnProvider

適用於