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.82k stars 1.37k forks source link

DataGrid.SelectedItems as ObservableCollection #4743

Open petrxh opened 1 year ago

petrxh commented 1 year 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 1 year 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!