• .NET

    Host Telerik’s WPF Gauges and Charts in RadGridView for WinForms

    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...
  • .NET

    WPF: RadChart Layout Customization

    September 10, 2008 Share
    Today we would like to highlight one exciting feature that will find its way into the new RadChart control for WPF -- the control grants you the absolute freedom to compose its layout based on your business requirements and not the other way around. This effectively means that you can add an unlimited number of chart building blocks (chart areas, legends, and titles) so we will demonstrate now how easy the layout customization can be. Basically the control provides three options for layout customization: RadChart comes with a default preset layout (a single chart area, legend, and title) but you have complete...
  • .NET

    WPF: Read-only Dependency Properties

    August 22, 2008 Share
    Yup, awkward creatures but they do exist! :) To be honest I came across these only recently and decided to share this (potentially) valuable information as well -- you cannot use it if you do not know it's there. Why do we need read-only dependency properties? There is a certain brand of dependency properties within the WPF framework that are used primarily for state determination. Often multiple conditions affect certain control state thus calculating and setting the state value directly is not feasible and generally leads to unpredictable and inconsistent results. Here is an example -- the UIElement.IsMouseOver dependency property (a common property...
  • .NET

    WPF: The Static Nature of Dependency Properties

    July 25, 2008 Share
    With dependency properties being so heavily used across the WPF platform, there is a good chance that sooner or later you will get bitten by this issue my colleague Hristo Deshev and I were debugging not long ago. Some heads-up can't really hurt anybody so here it is;). We will declare a simple class Foo with a single collection dependency property (note that this is a reference type). We will also supply our brand new property with a default value through the convenient DependecyProperty.Register(...) method: Let us put our class to the test by creating two Foo instances and adding a single item...
  • Mobile

    RadControls for Silverlight and WPF

    My colleague Hristo Deshev just announced the availability of Telerik RadControls for WPF Beta2. This is a very important release not only because it brings so many new features and controls for WPF, but because this is our first release that includes the Silverlight and WPF controls under a single distributable. For this first release we ported just a few Silverlight controls for WPF (namely TreeView, PanelBar, Calendar, DatePicker, Slider, ProgressBar and NumericUpDown), but in the long run almost all Silverlight controls that are applicable in a desktop scenario will be included in the WPF suite. What does this mean to you as a developer? Why is this...