Home Forums WinForms controls Xceed Grid for WinForms Right Click on the Grid Reply To: Right Click on the Grid

Fawzi [Xceed]
Member
Post count: 722
Hi Ming,
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:
            <Style TargetType=”{x:Type xcdg:StatRow}”>
                <EventSetter Event=”PreviewMouseRightButtonDown” Handler=”grid_PreviewMouseRightButtonDown” />
            </Style>

Imported from legacy forums. Posted by Fawzi [Xceed] (had 26 views)