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
185
hosting a windows user control in a WPF user control
posted

Hello

I have a user control (windows user control) on which I have an ULtraGrid (v9.2) with custom functionality (like exporting to excel ....)

I want to host this user control inside a WPF control; in the project in which I had created the user control I have references to the following:

Infragistcs2.Excel.v9.2

Infragistcs2.Shared.v9.2

Infragistcs2.ultrawinEditors.v9.2

Infragistcs2.win.UltrawinGrid.v9.2

Infragistcs2.win.v9.2

the name of the class of my user control is called UCUltraGrid it's namespace is

SES.Accounting.Payroll.Win.UserControls

 

may you please guide me with the syntax that I should write to host the user control in the WPF control?

of course I'm using the

  • 138253
    Offline posted

    Hello,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking through your post and I suggest you look here:

     

    http://msdn.microsoft.com/en-us/library/ms751761.aspx

     

    where it is described step by step how to host a WinForms control in a WPF application. You also have to add references to Infragistics assembly files that your user control use.

     

    Feel free to write me if you have further questions.