Edit

Share via


Command Class

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

Inherits BaseObservable

Implements ICommand

Commands are the primary unit of functionality in the Command Palette SDK. They represent "a thing that a user can do". These can be something simple like open a URL in a web browser. Or they can be more complex, with nested commands, custom arguments, and more.

Properties

Property Type Description
Icon IconInfo Gets or sets the icon for the command.
Id String Gets or sets the ID of the command.
Name String Gets or sets the name of the command.