Share via


AppBarToggleButton.Label 屬性

定義

取得或設定顯示在應用程式行切換按鈕上的文字描述。

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

void Label(winrt::hstring value);
public string Label { get; set; }
var string = appBarToggleButton.label;
appBarToggleButton.label = string;
Public Property Label As String
<AppBarToggleButton Label="stringContent" .../>

屬性值

String

Platform::String

winrt::hstring

顯示在應用程式行切換按鈕上的文字描述。

適用於