CommunityToolkit/WindowsCommunityToolkit

DataGrid.SelectedItems as ObservableCollection

Open

#4743 aperta il 29 ago 2022

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C# (1403 fork)batch import
DataGrid :capital_abcd:feature request :mailbox_with_mail:help wanted

Metriche repository

Star
 (5708 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor