CommunityToolkit/WindowsCommunityToolkit

DataGrid.SelectedItems as ObservableCollection

Open

#4 743 ouverte le 29 août 2022

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)C# (1 403 forks)batch import
DataGrid :capital_abcd:feature request :mailbox_with_mail:help wanted

Métriques du dépôt

Stars
 (5 708 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Describe the problem

Hi all, it would be nice to have an option to use DataGrid's SelectedItems in MVVM pattern also for setting selected items programatically, simillar to CollectionView in Xamarin. Now it is read only IList.

Describe the solution

Publish SelectedItems as ObservableCollection or some other type implementing some of observable patterns.

Alternatives

No response

Additional info

No response

Help us help you

No.

Guide contributeur