This is a migrated thread and some comments may be shown as answers.

DataGrid Conditional selection

0 Answers 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Esteban
Top achievements
Rank 1
Iron
Iron
Esteban asked on 31 Aug 2018, 07:49 AM

Good morning.
I have a DataGrid with cells whose wallpaper is red, green or orange.
I must allow the selection of certain cells that have the same color background.
I am testing with the "SelectionChanging" and "SelectionChanged" events, as well as with "ViewCellFormatting", but I can not avoid selecting any cell.
Any suggestions?

Thanks!

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Esteban
Top achievements
Rank 1
Iron
Iron
Share this question
or