Share via


AppBarButton.Label Property

Definition

Gets or sets the text displayed on the app bar button.

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" .../>

Property Value

String

Platform::String

winrt::hstring

The text displayed on the app bar button.

Applies to