
Description
This agent skill gives guidance on using CollectionView in .NET MAUI apps. CollectionView is the main control for scrollable lists and grids of data, and the skill presents it as the replacement for ListView, with better performance, more flexible layouts and no ViewCell requirement. It covers binding a collection to a templated item layout, list and grid layouts, single and multiple selection, grouping, scrolling, empty views, item templates, pull-to-refresh, incremental loading for infinite scroll, and swipe actions on items. It also says when not to use the control. For a fixed set of items, a Grid or StackLayout is simpler, and map pins call for the Microsoft.Maui.Controls.Maps package. Table-style data entry forms and plain text lists with no interaction are also outside its scope, and a BindableLayout on a StackLayout may suit those. The skill is for developers building list and grid screens. It is delivered as instructions for a coding agent that writes the XAML and C# for your project.…
Highlights
- Lists and grids with flexible layouts
- Single and multiple selection
- Grouping, empty views and pull-to-refresh
- Incremental loading and swipe actions
Ratings & Reviews
No ratings yet
Be the first to rate maui-collectionview.
People also visit
maui-collectionview FAQ
What is CollectionView used for?
Scrollable lists and grids of data, with selection, grouping, empty views and item templates.
How does it differ from ListView?
The skill presents CollectionView as the replacement for ListView, with better performance, flexible layouts and no ViewCell requirement.
When should I not use it?
For a fixed set of items, where a Grid or StackLayout is simpler. Map pins need the Microsoft.Maui.Controls.Maps package.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill maui-collectionview in your project.
What are the best maui-collectionview alternatives?
Popular alternatives to maui-collectionview include maui-data-binding, maui-safe-area and maui-shell-navigation. See all maui-collectionview alternatives









