docs-maui
docs-maui copied to clipboard
How to delete rows?
I was trying to figure out how to set up a mechanism where I could swipe a row and delete an element. That might not be quite the right place to put this, but it is going to be one of the things that people using CollectionViews will want to know how to do, so a reference to the right page would be great.
[Enter feedback here]
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: c12f52df-38dd-8dbd-bd9f-c10ad2831243
- Version Independent ID: c12f52df-38dd-8dbd-bd9f-c10ad2831243
- Content: Configure CollectionView item selection - .NET MAUI
- Content Source: docs/user-interface/controls/collectionview/selection.md
- Product: dotnet-mobile
- Technology: dotnet-maui
- GitHub Login: @davidbritch
- Microsoft Alias: dabritch
Hi @mprogers
The solution is to use a SwipeView
with your CollectionView
. But yeah, a fair comment that it needs adding to the CV docs.