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
400
XamDataGrid and ElementHost (Exception CallbackOnCollectedDelegate)
posted

Hi,

I'm using XamDataGrid version 10.2. It seems that something is going wrong when using an elementhost and a XamDataGrid.

The problem is, when I move some grid fields, an CallbackOnCollectedDelegate occurs. The Delegate type is InfragisticsWPF4.v10.2!Infragistics.Windows.Helpers.NativeWindowMethods+HookProc::Invoke. I realized that after moving a column the first time, the Application.Exit event is fired (see breakpoint). That would explain the CallbackOnCollectedDelegate exception, which occurs after 2-3 times moving the column.

My test application has the following structure:

* App.xaml opens Form1 in function OnStartup.

* Form1 contains an elementhost with UserControl1

* UserControl1 contains a XamDataGrid

I'm not sure if this is a bug or a result of doing something wrong.

I would appreciate any help on this,

Thanks,

Gernot

 

 

 

 

 

XamGridTestApp.zip