Home Forums WPF controls Xceed DataGrid for WPF Right Click to display a ContextMenu on multiple selected rows

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #41556 |

    I can select multiple rows on a grid, but when I right-click the display a context menu, the multiple highlighted rows bacome one row highlighted.


    How to solve this problem? 

    Imported from legacy forums. Posted by Ming (had 70 views)

    Fawzi [Xceed]
    Post count: 722


    I was not able to reproduce the issue using a ContextMenu assigned to the DataGridControl. The grid keeps its selected items, which only became in inactive mode. I used the following code snippet for testing:

                                <MenuItem Header=”MenuItem1″ />
                                <MenuItem Header=”MenuItem2″ />
                                <CollectionContainer Collection=”{StaticResource extensions}” />
                                <CollectionContainer Collection=”{StaticResource extensions1}” />

    If that’s not what you meant, could you send me a simple stand alone sample project which reproduces the issue so that I could have a closer look. You may send it to support@xceed.com

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.