Skip to content

Commit bf71e4f

Browse files
Merge pull request #5399 from MicrosoftDocs/alvinashcraft/main-pt-091-cmdpal-diffs
CmdPal API ref updates for PowerToys release 0.91
2 parents 6b8f0f7 + 3c14c9f commit bf71e4f

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/listitem_constructor.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ no-loc: [PowerToys, Windows, Insider]
88

99
# ListItem Constructors
1010

11+
## ListItem() Constructor
12+
13+
### Definition
14+
15+
Namespace: [Microsoft.CommandPalette.Extensions.Toolkit](microsoft-commandpalette-extensions-toolkit.md)
16+
17+
Initializes a new instance of the [ListItem](listitem.md) class.
18+
19+
```C#
20+
public ListItem()
21+
: base()
22+
{
23+
}
24+
```
25+
1126
## ListItem([ICommand](../microsoft-commandpalette-extensions/icommand.md)) Constructor
1227

1328
### Definition

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/thumbnailhelper_getthumbnail.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ The **ThumbnailHelper.GetThumbnail(String)** method retrieves the thumbnail imag
2020

2121
The path to the command for which the thumbnail is requested.
2222

23+
*jumbo* **Boolean**
24+
25+
A boolean value indicating whether to retrieve a jumbo-sized thumbnail. If set to `true`, the method will return a larger version of the thumbnail image. If set to `false`, it will return a standard-sized thumbnail. The default value is `false`.
26+
2327
## Returns
2428

2529
A **Task\<IRandomAccessStream\>** that represents the thumbnail image for the specified command. If no thumbnail is found, the task will return `null`.

0 commit comments

Comments
 (0)