Share via


WebUICommandBarItemInvokedEventArgs.IsPrimaryCommand Property

Definition

Deprecated. Gets if the invoked command is a primary command.

public:
 property bool IsPrimaryCommand { bool get(); };
bool IsPrimaryCommand();
public bool IsPrimaryCommand { get; }
var boolean = webUICommandBarItemInvokedEventArgs.isPrimaryCommand;
Public ReadOnly Property IsPrimaryCommand As Boolean

Property Value

Boolean

bool

true if the command is a primary command; 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