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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

WPF Controls in Essential Grid?

Thread ID:

Created:

Updated:

Platform:

Replies:

60955 May 16,2007 02:56 AM UTC May 17,2007 10:18 AM UTC WinForms 1
loading
Tags: GridControl
Pramod Viswanath
Asked On May 16, 2007 02:56 AM UTC


Hi,

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

Thanks
Pramod.

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

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.

Warning Icon 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.Close Icon

;