Telerik blogs

Latest

  • Desktop WPF

    How To: Save and load settings with RadGridView for WPF

    I’ve made small demo on how to save and restore various RadGridView settings using ApplicationSettingsBase. To turn on this for your grid you can simply set RadGridViewSettings.IsEnabled attached property: <Window x:Class="WpfApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:local="clr-namespace:WpfApplication1" xmlns:ts="clr-namespace:Telerik.Settings" Title="Window1"> <Grid> <Grid.Resources> <ObjectDataProvider x:Key="customers" ObjectType="{x:Type local:NorthwindDataContext}" MethodName="get_Customers"> </ObjectDataProvider> </Grid.Resources> <telerik:RadGridView ts:RadGridViewSettings.IsEnabled="True" x:Name="RadGridView1" ItemsSource="{Binding Source={StaticResource customers}}"/> </Grid></Window> Saved settings...
  • Desktop WPF

    Creating a Half circle WPF RadGauge

    During a recent webinar, a question was asked about whether you can create a half circle gauge.  I recently covered this in my “Introducing RadGauge for WPF” webinar, but thought it would be good to have a quick blog post as well.  Below you will see a RadialGauge which contains two RadialScales placed along the left and right of the gauge.  This is actually very easy to produce since the RadialGauge is simply a container, you can place a number of scales inside of the gauge.      Here is the XAML for the screenshot...
    March 26, 2009
  • Desktop WinForms

    WinForms RadGridView's new clothes

      In our latest release – Q1 2009 – we were focused mostly on addressing known issues and minimizing the memory footprint of RadGridView for WinForms.  However, we managed also to steal some time and redesign all of RadGridView’s themes. Some optimizations in our TPF framework helped us with this task. One of the heaviest operations in GDI+ is clipping. We managed to remove the clipping where it wasn’t really needed. This way we achieved two goals with a single shot: first, we got a performance boost, and second, we achieved better graphics and smoothed edges when using shapes. Our new Desert...
    March 26, 2009
  • Desktop WinForms

    RadScheduler for WinForms has learned some nice new tricks

    The long awaited Q1 2009 release is finally out and with it comes a greatly improved version of RadScheduler for WinForms. Among the more interesting new features of RadScheduler are: Multi-day view   Notice how there are two date time intervals shown – (13 – 14 March) and (17 – 19 March). Brand new iCalendar import / export functionality which will allow you to make applications with RadScheduler that can exchange appointment data with Outlook. (Dedicated blog post to follow soon.) Now combine that nice iCal import / export functionality with data binding and you have…you guessed it – support for storing recurrence rules for appointments in...
    March 16, 2009
  • Desktop WinForms

    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