Hook event when user try to change selection in DataGrid

Jul 2, 2009 at 7:16 AM

Hello all. Here is my problem. I have the DataGrid in right part of workspace the TabCtrl with some configurable settings. DataGrid represents the list of possible settings sets. When I user tries to change settings set I must check if the current settings was changed and if it is I have to show message box with confirmation. That's why I have to hook the event SelectionChanging but WPF DataGrid provides only event SelectionChanged. How  can I solve my problem?


Alexander Tokarenko