• .NET

    Getting Started with GanttView - part 1

    Programming with the new GanttView control As many of you already know with Q1 2012 we introduced a RadGanttView for Silverlight and WPF - a control designed with MVVM-friendly API. In this blog post we will set-up a sample project with RadGanttView to get you started. First, to add RadGanttView to a new or existing application we need to add references to the following assemblies: Telerik.Windows.Controls Telerik.Windows.Controls.GanttView Telerik.Windows.Scheduling.Core Now, let’s add the telerik namespace: xmlns:telerik=http://schemas.telerik.com/2008/xaml/presentation Аnd add a sample definition of the control: <telerik:RadGanttView/> Here is a screenshot of what you should see after running the project:   Now, we will create a data source in our ViewModel and bind...
  • .NET

    Structured Content Editing with RichTextBox for Silverlight/WPF

    March 06, 2012 Share
    Or How to Store Semantic Information In Documents Through Custom Annotations When we develop RadRichTextBox’s API, we always try to make it as extensible as possible. One of the most popular demands was the option to store “meta” information about parts of the document which is not directly visible by the user. The technique that most developers attempted to implement was to extend the document model and use custom document elements (Spans, Paragraphs, etc.). This approach, however, is not quite reliable, because RadDocument controls the lifecycle of all document elements while editing the content in RadRichTextBox and the document structure is only...
  • .NET

    Filtering Custom Types with RadGridView for Silverlight / WPF

    If you want to filter a column that is data-bound to a custom type, you need to make sure that your custom type meets certain criteria. We will use the type Person as an example. public class Person {     private readonly string name;     private int age;     public string Name     {         get { return this.name; }     }     public int Age     {         get { return this.age; }         set { this.age = value;...
  • .NET

    What's New in the RichTextBox for Silverlight/WPF?

    March 05, 2012 Share
    The first release of 2012 is already a fact and even though this Q has been shorter due to the shift in the release dates which Todd Anglin blogged about, we managed to include some long-awaited improvements and new features. The first and most important change is that RadRichTextBox now supports multiple sections in the document. To see how it works, you can open the Silverlight demo, choose the Page Layout tab from the RibbonUI and click “Breaks”. Inserting a section break will split the current section into two, providing the option to format the two parts differently. Section breaks are extremely...
  • .NET

    Introducing PDF Viewer for Silverlight/WPF

    February 29, 2012 Share
    The long-awaited 2012 Q1 with the first official version of RadPdfViewer is already a fact! This is also the first release of the control for WPF, so don’t forget to check it out in the demos if you have missed it: WPF and Silverlight. A big “Thank You” to all who tried using RadPdfViewer for Silverlight when it was still in a beta stage for providing such a valuable feedback on the control! We have come a long way with your help and hope that you will enjoy the improvements that the first official version brings out. For the past few months after...