| title |
ISettingsForm Interface |
| description |
The ISettingsForm interface is used to represent a form in the Command Palette settings. |
| ms.date |
2/19/2025 |
| ms.topic |
reference |
| no-loc |
PowerToys |
Windows |
Insider |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The ISettingsForm interface is used to represent a form in the Command Palette settings. It provides methods for converting the form to different representations, such as a data identifier, dictionary, or state.
| Method |
Description |
| ToDataIdentifier() |
Converts the settings form to a data identifier. |
| ToDictionary() |
Converts the settings form to a dictionary representation. |
| ToForm() |
Converts the settings form to a form representation. |
| ToState() |
Converts the settings form to a state representation. |
| Update(JsonObject) |
Updates the settings form with the specified JSON object. |