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. Image for the cookie policy date

WPF Controls in Essential Grid?


Hi,

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

Thanks
Pramod.

1 Reply

AD Administrator Syncfusion Team May 17, 2007 10:18 AM UTC

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.
WPFinGrid.zip

Loader.
Live Chat Icon For mobile
Up arrow icon