CommunityToolkit/WindowsCommunityToolkit

DataGrid.SelectedItems as ObservableCollection

Open

#4.743 aberto em 29 de ago. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C# (1.403 forks)batch import
DataGrid :capital_abcd:feature request :mailbox_with_mail:help wanted

Métricas do repositório

Stars
 (5.708 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador