• .NET

    RadScheduler for WPF - Out of the box

    February 05, 2009 Share
    If you have a need for calendaring capabilities in your WPF application, look no further.  The RadScheduler brings you a number of capabilities with minimal effort.  I am going to discuss some of the core features that you get with the RadScheduler for WPF without implementing any code.  I thought a quick preview of what the control offers out of the box, might give you some ideas of how you leverage it in your applications.  To get started create a new WPF application and drop a RadScheduler onto the Window. <Window x:Class="WPFRadSchedule.Window1"      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"      Title="Window1" Height="600" Width="800           " xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">       <Grid>          <telerik:RadScheduler Margin="12" Name="radScheduler1" />      </Grid>  </Window>   The XAML above is a preview of what I...
  • .NET

    How to use Custom Row Layouts in RadGridView for WPF

    February 03, 2009 Share
    Presenting data in a grid is common in many applications, but it doesn't have to look like a bunch or columns and rows.  With WPF you have freedom to make the data look totally different.  In this post, I am going to demonstrate using a custom row layout with the RadGridView for WPF.  To get started, I have setup a new window with a RadGridView.  I will be using the Northwind database Employees table for this example.  I would like to point out that if you are going to recreate this example, you will need to add the Window.Resources section...
  • .NET

    Displaying Hierarchy in RadGridView for WPF

    January 22, 2009 Share
    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 hierachical 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...
  • .NET

    Displaying data quickly in the RadGridView for WPF

    January 20, 2009 Share
    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; }...