Telerik blogs

Latest

  • Desktop WPF

    Setup a simple RadChart for WPF

    To get started working with any control, I find it useful to begin with a fresh project.  So below you will see that I have very simple XAML for my WPF application which adds a RadChart to the form.  In this post, I want to demonstrate the basic setup and binding of data to the RadChart. <Window x:Class="CreateABasicChart.Window1"      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"      Title="Window1" Height="484" Width="750" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">...
    February 10, 2009
  • Desktop WPF

    WPF / Silverlight: RadChart and MVVM

    While reviewing the daily portion of blog posts today one article at Delay’s blog here caught my attention – customizing the MS chart control via re-templating and the MVVM design pattern in order to achieve different colorization of the bar series items in a single series. We have discussed similar functionality some time ago but it seemed like a very non-mainstream scenario and based on our experience with the ASP.NET / WinForms chart it was rarely requested feature so we decided we can go without it for the time being. However, once I read the article I started thinking what it would...
    February 05, 2009
  • Desktop WPF

    RadScheduler for WPF - Out of the box

    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...
    February 05, 2009
  • Desktop WPF

    Tracking down memory leaks in WPF and Silverlight

    As a component vendor we need to be extra cautious about the quality of the code we ship. Design, presentation, performance etc. are all very important for us. One item that is often overlooked in the .NET community is memory leaks. It is a quite a precarious issue, because most people believe that in the managed world it is not possible to have a memory leak. Well, if you thought so you are in for a surprise. The idea of the blog post is not to explain what memory leaks are, how the garbage collector works and so on. These things...
    February 05, 2009
  • Desktop WPF

    How to use Custom Row Layouts in RadGridView for WPF

    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...
    February 04, 2009