| title | StatusMessage Class | |||
|---|---|---|---|---|
| description | The StatusMessage class is used to represent a status message in the PowerToys Command Palette. | |||
| ms.date | 2/26/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Inherits BaseObservable
Implements IStatusMessage
The StatusMessage class is used to represent a status message in the command palette. It provides properties to set the message text, progress state, and message state.
| Property | Type | Description |
|---|---|---|
| Message | String | The text of the message. This property is used to display a message to the user in the command palette. |
| Progress | IProgressState | The progress state of the message. This property is used to indicate the progress of an operation. |
| State | MessageState | The state of the message. This property is used to indicate the status of the message, such as success or error. |