Telerik blogs
  • Desktop WPF

    Displaying Hierarchy in RadGridView for WPF

    Building on my previous post where I talked about how to bind data to the RadGridView, today I want to show how you can display hierarchical data in the grid.  I will follow the same concept of building an application for a car repair shop to manage vehicles in for repair.  I will leverage two classes to display the data.  The original Car class which was used previously and a new CustomerComplaint class.  The Complaint property of the Car object was initially a string, but we need to allow for several issues to be reported so we will use the CustomerComplaint class to...
    January 22, 2009
  • Desktop WPF

    Displaying data quickly in the RadGridView for WPF

    The RadGridView for WPF uses the ItemsSource property for binding data.  ItemsSource is actually of type System.Object which not only allows you to bind to any data source that implements IEnumerable, but also the ADO.NET DataTable and DataSet.  In this post, I am going to demonstrate how you can quickly bind data to the RadGridView for WPF.  The task will be to build a car repair shop application which will display all the cars currently in the shop.  To get started we need to have some data, so we will use a simple class to store Car information.       public class Car       {           public string Make { get; set; }...
    January 20, 2009
  • Desktop WPF

    Grouping data in the RadGridView for WPF

    When you first add the RadGridView to your WPF application you will undoubtedly notice the section at the top of the control which I have outlined in red.  This area is officially called the GridViewGroupPanel, but I am just going to call it the Group Panel to save myself some typing.  The Group Panel allows the user to drag and drop column headers into the panel in order to group the data in the RadGridView at runtime.  Below you will see that I have grouped my data by the "Make" column in my grid of vehicles. Additionally, the sort order of...
    January 16, 2009
  • Desktop WPF

    WPF: Customizing the chart series appearance in RadChart

    RadChart comes with a versatile collection of preset themes (Summer, Vista, Office). At times you may wish to use one of the predefined themes but customize its appearance a bit to fit your specific scenario / application and the control provides easy mechanism to achieve the desired effect. RadChart uses the concept of style palettes in order to style the various chart series. There are distinct style palettes for the various series types (Line, Bar, Pie, etc.) and each palette can contain as many style elements as you want -- the first style is applied to the first chart series of...
    January 06, 2009
  • Desktop WPF

    WPF/ Silverlight: RadGauge Layout Composition

    Today I would like to highlight one of the newest controls added to the WPF / Silverlight control suites in November – the RadGauge control. RadGauge combines its rich assortment of radial, linear and numeric gauge types with very flexible layout composition abilities thus allowing you to attain a new level of data visualization quickly and easily. Let us discuss the basics of the layout composition and how it is implemented in the gauge control. There are three levels of controls that participate in the layout: RadGauge LinearGauge / RadialGauge LinearScale / RadialScale / NumericScale   RadGauge is the top level class but as far as the control...
    December 19, 2008
  • Desktop WPF

    Displaying Hierarchy in RadGridView for WPF

    Building on my previous post where I talked about how to bind data to the RadGridView, today I want to show how you can display hierarchical data in the grid.  I will follow the same concept of building an application for a car repair shop to manage vehicles in for repair.  I will leverage two classes to display the data.  The original Car class which was used previously and a new CustomerComplaint class.  The Complaint property of the Car object was initially a string, but we need to allow for several issues to be reported so we will use the CustomerComplaint class to...
    January 22, 2009
  • Desktop WPF

    Displaying data quickly in the RadGridView for WPF

    The RadGridView for WPF uses the ItemsSource property for binding data.  ItemsSource is actually of type System.Object which not only allows you to bind to any data source that implements IEnumerable, but also the ADO.NET DataTable and DataSet.  In this post, I am going to demonstrate how you can quickly bind data to the RadGridView for WPF.  The task will be to build a car repair shop application which will display all the cars currently in the shop.  To get started we need to have some data, so we will use a simple class to store Car information.       public class Car       {           public string Make { get; set; }...
    January 20, 2009
  • Desktop WPF

    Grouping data in the RadGridView for WPF

    When you first add the RadGridView to your WPF application you will undoubtedly notice the section at the top of the control which I have outlined in red.  This area is officially called the GridViewGroupPanel, but I am just going to call it the Group Panel to save myself some typing.  The Group Panel allows the user to drag and drop column headers into the panel in order to group the data in the RadGridView at runtime.  Below you will see that I have grouped my data by the "Make" column in my grid of vehicles. Additionally, the sort order of...
    January 16, 2009
  • Desktop WPF

    WPF: Customizing the chart series appearance in RadChart

    RadChart comes with a versatile collection of preset themes (Summer, Vista, Office). At times you may wish to use one of the predefined themes but customize its appearance a bit to fit your specific scenario / application and the control provides easy mechanism to achieve the desired effect. RadChart uses the concept of style palettes in order to style the various chart series. There are distinct style palettes for the various series types (Line, Bar, Pie, etc.) and each palette can contain as many style elements as you want -- the first style is applied to the first chart series of...
    January 06, 2009
  • Desktop WPF

    WPF/ Silverlight: RadGauge Layout Composition

    Today I would like to highlight one of the newest controls added to the WPF / Silverlight control suites in November – the RadGauge control. RadGauge combines its rich assortment of radial, linear and numeric gauge types with very flexible layout composition abilities thus allowing you to attain a new level of data visualization quickly and easily. Let us discuss the basics of the layout composition and how it is implemented in the gauge control. There are three levels of controls that participate in the layout: RadGauge LinearGauge / RadialGauge LinearScale / RadialScale / NumericScale   RadGauge is the top level class but as far as the control...
    December 19, 2008