CommunityToolkit / WindowsCommunityToolkit

The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.
https://docs.microsoft.com/windows/communitytoolkit/
Other
5.89k stars 1.38k forks source link

DataGrid.SelectedItems as ObservableCollection #4743

Open petrxh opened 2 years ago

petrxh commented 2 years ago

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.

ghost commented 2 years ago

Hello, 'petrxh! Thanks for submitting a new feature request. I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future!