Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2805
Event setter doesn't get fired in xamDataGrid
posted

Hi there,

In  igDP:XamDataGrid.Resources, I added event setter for igDP:DataRecordPresenter, for example,
                   
                        <Style TargetType="{x:Type igDP:DataRecordPresenter}">
                            <EventSetter Event="MouseDoubleClick" Handler="myMouseDoubleClick" />                      
                        </Style>

But why this event doesn't get fired when I right click xamdatagrid?

If I use EventManager.RegisterClassHandler, it works. But since we have different forms with different grids, the registered event will affect all grids. That's why I hope the first method will work.

Thanks for help.