Answer the question
In order to leave comments, you need to log in
How to select multiple datagrid cells?
How can I make it so that when you click on the middle cell (number 53), the cells are highlighted as in the screenshot?
Answer the question
In order to leave comments, you need to log in
Have you tried reading the column and row number of the selected cell and setting the others (from i-1,j-1 to i+1,j+1) to have the IsSelected property set to true?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question