CommunityToolkit/WindowsCommunityToolkit

DataGrid.SelectedItems as ObservableCollection

Open

#4,743 创建于 2022年8月29日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C# (5,708 star) (1,403 fork)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.

贡献者指南