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
3160
How to un-wire DataRecordPresenter loaded event?
posted

After the XamDataGrid is completely loaded I want to un-wire the DataRecordPresenter loaded event.  I tried un-handling the event within the handler iteself but that does not work. 

private void CashParameterGrid_DataRecordPresenter_Loaded(object sender, RoutedEventArgs e)
        {
            DataRecordPresenter presenter = sender as DataRecordPresenter;
            presenter.Loaded -= CashParameterGrid_DataRecordPresenter_Loaded; // dosent work

 

Parents Reply Children
No Data