Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Inherits BaseObservable
Implements ITag
The Tag class represents a tag that can be used in the command palette. It provides properties for customizing the appearance of the tag, including background color, foreground color, icon, text, and tooltip.
Constructors
Constructor | Description |
---|---|
Tag() | Initializes a new instance of the Tag class with default values. |
Tag(String) | Initializes a new instance of the Tag class with a specified text. |
Properties
Property | Type | Description |
---|---|---|
Background | OptionalColor | The background color of the tag. |
Foreground | OptionalColor | The foreground color of the tag. |
Icon | IIconInfo | The icon associated with the tag. |
Text | String | The text displayed on the tag. |
ToolTip | String | The tooltip text displayed when hovering over the tag. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer