| title | ItemsChangedEventArgs Constructors | |||
|---|---|---|---|---|
| description | Initializes a new instance of the ItemsChangedEventArgs class with the specified total number of items. | |||
| ms.date | 2/25/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the ItemsChangedEventArgs class with the TotalItems property set to totalItems that defaults to -1.
public ItemsChangedEventArgs(int totalItems = -1)
{
TotalItems = totalItems;
}totalItems Integer
The total number of items that have changed. This parameter is optional and defaults to -1 if not provided.