Telerik blogs

Latest

  • Desktop WPF

    Installing and Using the RadRibbonForm template

    If you are planning to use the RadRibbonBar and want to get started quickly, then you might consider using the RadRibbonForm template in VIsual Studio.  While you can use a standard form the RadRibbonForm allows you to use the RadRibbonBar and have it extend into the Title bar, just like Microsoft Office.  You will first need to install the template so it is available to you in Visual Studio.  To get started, navigate to the C:\Program Files\Telerik\RadControls for WinForms [version]\Templates.  If you are using CSharp open the CSharp directory, there are Visual Basic versions as well, in appropriately named folders,...
    April 07, 2009
  • Desktop WinForms

    Changing the Backcolor for the RadMenu for WinForms

    Recently a question regarding how to change the BackColor of the RadMenu for WinForms.  I thought it might be easier to outline this process with screenshots so I put together a quick post to answer the question. After creating a new WinForms application project, I added a RadMenu.  The screenshot below shows that the default color of the menu is blue. The quickest way to accomplish this task is to click on the SmartTag in the DesignView.  Then select the Edit UI Element menu option. This will open a new window which is called the Element hierarchy editor. Within the Element hierarchy editor, select the...
    April 04, 2009
  • 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