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.

Custom Control In a Cell

Thread ID:





97022 Oct 20,2010 02:06 PM Nov 3,2010 10:36 AM WPF 2
Tags: GridControl
Scott E. Michetti
Asked On October 20, 2010 02:06 PM

Hello, in the WinForms grid I was able to place any control in a cell.

MyControl myControl = new MyControl();
GridControl1[1,1].CellType = "Control";
GridControl1[1,1].Control = myControl ;

The Control method does not exist in the WPF version.
How would I do this in the WPF version?


Administrator [Syncfusion]
Replied On October 28, 2010 07:48 AM

Hi Scott,

In WPF you can use the Custom Cell render to load your custom control on the cell.

Please find a sample for Custom Cell render in the following location.


Sridharan S.

Scott E. Michetti
Replied On November 3, 2010 10:36 AM

Thanks. That helped. Is there a way to use MVVM for controls in a cell? I'd like to be able to bind to controls in cells.



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.