Share via


WebUICommandBarIconButton.Label Property

Definition

Deprecated. Gets or sets the label of the command bar icon 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 = webUICommandBarIconButton.label;
webUICommandBarIconButton.label = string;
Public Property Label As String

Property Value

String

Platform::String

winrt::hstring

The label of the command bar icon.

Remarks

Use of the Command Bar (also known as "App Bar") UX element is deprecated for UWP apps using JavaScript and no longer supported. If your app still requires it, this functionality is available from the WinJS 4 library.

Applies to