We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

WPF Controls in Essential Grid?

Thread ID:





60955 May 15,2007 10:56 PM May 17,2007 06:18 AM Windows Forms 1
Tags: GridControl
Pramod Viswanath
Asked On May 15, 2007 10:56 PM


Is it possible to embed WPF controls in Essential Grid? If so how to do it?


Administrator [Syncfusion]
Replied On May 17, 2007 06:18 AM

Yes, you can do this using the System.Windows.Forms.Integration.ElementHost class which essentially wraps a WPF element in a WindowsForms Control. Then you can try to use this Control like any other control in Wondows Forms. There may be additional work and details depending upon exactly what you are trying to do.

Here is a little sample that puts a WPF Expander in a grid cell using the style.CellType = "Control". You could also base custom cell types off WPF elements wrapped in ElementHost.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.