Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.14 KB

File metadata and controls

25 lines (19 loc) · 1.14 KB
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

ISettingsForm Interface

Definition

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.

Methods

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.