• .NET

    Using RadGauge for WPF in a WinForms application

    In this post, I want to demonstrate the use of the RadGauge for WPF control inside a Windows Forms Application.  Just because you are not developing WPF applications every day does not mean you cannot benefit from what WPF has to offer.  I thought it would be useful to point out that you can use WPF User Controls inside of Windows Forms applications with minimal effort.  This is made possible through the Systems.Windows.Forms.Integration namespace.  More specifically you will be working with a control call "ElementHost" which allows the WPF control to be used in a Windows Form.    So lets get...
    February 27, 2009
  • .NET

    TreeView in a ComboBox dropdown using RadControls for Silverlight

    As far as I can tell from the experience of my colleagues with RadControls for ASP.NET AJAX, one of the common feature requests for RadComboBox and RadTreeView is combining them into one piece. Recently we started to receive similar requests for RadComboBox and RadTreeView for Silverlight. Placing a TreeView in a ComboBox sometimes makes a lot of sense, so I decided to research the best way to do it.   The first, the simplest and most obvious way is to place a RadTreeView as content of RadComboBox: <input:RadComboBox> <nav:RadTreeView  ItemTemplate="{StaticResource ItemTemplate}"  ItemsSource="{StaticResource ItemsSource}" /></input:RadComboBox> This works, but it has one important limitation: RadComboBox cannot...
    November 08, 2008