I have a grouped grid, which has normal (data) rows and summary (stat) row. When I right-click on the normal row, I pop up a context menu. right now, when I click on the summary row, the context menu is pop up too.
How can I find that the row is a summary row? so I can block my context menu.
Imported from legacy forums. Posted by Ming (had 68 views)
A summary row should be of type StatRow. To achieve what you are looking for you could catch the “PreviewMouseRightButtonDown” event on StatRow and set it to be handled. A simple way to do so could be through a style which targets StatRow, for example: