AppBarButton.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 = appBarButton.label;
appBarButton.label = string;
Public Property Label As String
<AppBarButton Label="stringContent" .../>

屬性值

String

Platform::String

winrt::hstring

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

適用於