Did you have a chance to try the beta versions of Telerik’s WPF gauges and charts ? Yes? And you like them, but already have a big and complex WinForms project and you have no plans to upgrade it to the new amazing WPF technology soon?

Do not worry; you can get the best of both worlds and use the WPF goodies in your WinForms application thanks to the ElementHost control that resides in the namespace System.Windows.Forms.Integration.  You could find more info on this topic in the following MSDN article: http://msdn.microsoft.com/en-us/library/ms745781.aspx

Following this concept, I have prepared a WinForms application with Telerik’s WPF gauges and charts. It consists of a hierarchical RadGridView with custom cells, which host our WPF controls, and are added to the grid in its CreateCell event.

RadGridView – Master Template RadGridView – with expanded second level that hosted WPF chart

You can find the project files here. It uses the latest beta's versions of WinForms Q3 2008 and WPF controls assemblies. We will demonstrate the applicaon at PDC 2008 and all of you that will visit the Telerik's booth can expirience it. After the Q3 release we will include this application in Telerik's Code Library and you can use it with all of new amaizing versions of Telerik Controls.

You could download current versions of RadControls for WinForms and RadControls for WPF Futures through your Client.NET account.

Enjoy!


About the Author

Nikolay Diyanov

Diyanov is the Product Manager of the Native Mobile UI division at Progress. Delivering outstanding solutions that make developers' lives easier is his passion and the biggest reward in his work. In his spare time, Nikolay enjoys travelling around the world, hiking, sun-bathing and kite-surfing.

Find him on Twitter @n_diyanov or on LinkedIn.

Related Posts

Comments

Comments are disabled in preview mode.