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
The ListPage class defines a page that displays a list of items. It provides properties and methods to manage the display and interaction with the list of items.
Properties
Property | Type | Description |
---|---|---|
EmptyContent | ICommandItem | The content to display when the list is empty. |
Filters | IFilters | The filters to apply to the list of items. |
GridProperties | IGridProperties | The properties for the grid layout of the list. |
HasMoreItems | Boolean | Indicates if there are more items to load. |
PlaceholderText | String | The placeholder for the filter on the page. |
SearchText | String | The text to filter the list of items. |
ShowDetails | Boolean | Indicates if the details of the items should be shown. |
Events
Event | Description |
---|---|
Windows.Foundation.TypedEventHandler<object, IItemsChangedEventArgs> ItemsChanged | Occurs when the items in the list have changed. |
Methods
Method | Description |
---|---|
GetItems() | Returns the list of items. |
LoadMore() | Loads more items into the list. |
RaiseItemsChanged(Integer) | Raises the ItemsChanged event. |
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