How to add Silverlight 4 ContextMenu to DataGrid row or column?
        Posted  
        
            by Simon_Weaver
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Simon_Weaver
        
        
        
        Published on 2010-05-06T05:07:05Z
        Indexed on 
            2010/05/06
            5:18 UTC
        
        
        Read the original article
        Hit count: 934
        
Silverlight 4 has a new ContextMenu control in the latest toolkit.
I can't find ANY examples anywhere on how to reliably use this ContextMenu on a DataGrid. Theres a tonne of context menus out there but I want to use the new version from the toolkit.
I'd like to be able to set context menus for rows and cells.
Everything I've tries ends up being bound to the wrong item in the grid after scrolling.
© Stack Overflow or respective owner