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
Implements IIconData
The IconData class is used to represent icon data for a command in the Command Palette. It provides properties to access the icon data and its associated URI.
Constructors
| Constructor | Description |
|---|---|
| IconData(IRandomAccessStreamReference) | Initializes the Data property with the provided IRandomAccessStreamReference. |
| IconData(String) | Initializes the Icon property with the provided String. |
Properties
| Property | Type | Description |
|---|---|---|
| Data | Windows.Storage.Streams.IRandomAccessStreamReference | Gets or sets the icon data as a stream reference. This property is used to load the icon data from a stream. |
| Icon | String | Gets or sets the icon URI. This property is used to load the icon from a URI. |
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