Share via


WebUICommandBarIconButton.IsToggleButton Property

Definition

Deprecated. Gets or sets if the command bar icon button is a toggle button.

public:
 property bool IsToggleButton { bool get(); void set(bool value); };
bool IsToggleButton();

void IsToggleButton(bool value);
public bool IsToggleButton { get; set; }
var boolean = webUICommandBarIconButton.isToggleButton;
webUICommandBarIconButton.isToggleButton = boolean;
Public Property IsToggleButton As Boolean

Property Value

Boolean

bool

true if the command bar icon button is a toggle button; otherwise, false.

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