หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Contains the interfaces to create extensions for the Command Palette.
These are the raw WinRT interfaces that Command Palette uses to communicate with your extension. These can be implemented however you'd like, in any language that supports implementing WinRT interfaces. For simplicity, there's a reference C# implementation of these interfaces in the Microsoft.CommandPalette.Extensions.Toolkit namespace.
Structs
| Struct | Description |
|---|---|
| Color | Represents a color value. |
| KeyChord | Represents a key chord, which is a combination of keys that can be pressed together. |
| OptionalColor | Represents a color that can be either specified or not specified. |
Interfaces
| Interface | Description |
|---|---|
| ICommand | Action a user can take within the Command Palette. |
| ICommandContextItem | Represents a context menu item for a command. |
| ICommandItem | Represents an item that can be used in a command. |
| ICommandProvider | Represents a provider that can be used to create commands. |
| ICommandResult | Represents the result of a command. |
| ICommandResultArgs | Represents the arguments for a command result. |
| ICommandSettings | Represents the settings for a command. |
| IConfirmationArgs | Represents the arguments for a confirmation dialog. |
| IContent | Represents the content of a command. |
| IContentPage | Represents a page that can be used in a command. |
| IContextItem | Represents a context menu item. |
| IDetails | Represents the details of a command. |
| IDetailsCommand | Represents a command that contains details. |
| IDetailsData | Represents the data that can be used in the details. |
| IDetailsElement | Represents an element that can be used in the details. |
| IDetailsLink | Represents a link that can be used in the details. |
| IDetailsSeparator | Represents a separator that can be used in the details. |
| IDetailsTags | Represents the tags that can be used in the details. |
| IDynamicListPage | Represents a dynamic list page that can be used in a command. |
| IExtension | Represents an extension that can be used in the Command Palette. |
| IExtensionHost | Represents the host for an extension. |
| IFallbackCommandItem | Represents a fallback command item that can be used in the Command Palette. |
| IFallbackHandler | Represents a handler that can be used for fallback commands. |
| IFilter | Represents a filter that can be used in the Command Palette. |
| IFilters | Represents a collection of filters that can be used in the Command Palette. |
| IFilterItem | Represents an item that can be used in a filter. |
| IForm | Represents a form that can be used in the Command Palette. |
| IFormContent | Represents the content of a form. |
| IFormPage | Represents a page that can be used in a form. |
| IGoToPageArgs | Represents the arguments for navigating to a page. |
| IGridProperties | Represents the properties of a grid. |
| IIconData | Represents the data for an icon. |
| IIconInfo | Represents the information for an icon. |
| IInvokableCommand | Represents a command that can be invoked. |
| IItemsChangedEventArgs | Represents the arguments for an items changed event. |
| IListItem | Represents an item that can be used in a list. |
| IListPage | Represents a page that can be used in a list. |
| ILogMessage | Represents a log message. |
| IMarkdownContent | Represents the content of a markdown page. |
| IMarkdownPage | Represents a page that can be displayed as markdown. |
| INotifyItemsChanged | Represents an interface for notifying when items have changed. |
| INotifyPropChanged | Represents an interface for notifying when a property has changed. |
| IPage | Represents a page that can be used in the Command Palette. |
| IProgressState | Represents the state of a progress indicator. |
| IPropChangedEventArgs | Represents the arguments for a property changed event. |
| ISeparatorContextItem | Represents a separator as a context menu item. |
| ISeparatorFilterItem | Represents a separator as a filter item. |
| IStatusMessage | Represents a status message. |
| ITag | Represents a tag that can be used in the Command Palette. |
| IToastArgs | Represents the arguments for a toast notification. |
| ITreeContent | Represents the content of a tree. |
Enums
| Enum | Description |
|---|---|
| CommandResultKind | Specifies what kind of command it is. |
| MessageState | Specifies the state of a message. |
| NavigationMode | Specifies which navigation direction to take. |
| ProviderType | Specifies the type of provider. Currently Command is the only type. |
Windows developer