Edit

Share via


ITag Interface

Definition

Namespace: Microsoft.CommandPalette.Extensions

The ITag interface represents a tag in the Command Palette. Tags are used to categorize and organize commands, making them easier for users to find and execute.

Properties

Property Type Description
Background OptionalColor The background color of the tag. This property is used to visually distinguish the tag from other elements in the Command Palette.
Foreground OptionalColor The foreground color of the tag. This property is used to set the text color of the tag, ensuring good contrast with the background color.
Icon IIconInfo The icon associated with the tag. This property is used to provide a visual representation of the tag, making it easier for users to identify its purpose.
Text String The text displayed on the tag. This property is used to provide a label for the tag, indicating its category or purpose.
ToolTip String The tooltip text displayed when the user hovers over the tag. This property is used to provide additional information about the tag, helping users understand its purpose.