CommunityToolkit/WindowsCommunityToolkit

DataGrid.SelectedItems as ObservableCollection

Open

#4,743 opened on 2022年8月29日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)C# (5,708 stars) (1,403 forks)batch import
DataGrid :capital_abcd:feature request :mailbox_with_mail:help wanted

説明

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.

コントリビューターガイド