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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom Control In a Cell

Thread ID:





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

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 11:48 AM UTC

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 02:36 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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