Telerik blogs

Latest

  • Desktop WPF

    WPF Series: Creating Generic Adorner

    As I have mentioned at the end of the previous post today I will show you how to create a generic adorner, which will allow you to decorate a single element  multiple times at different positions. At the end we will be able to create something that looks like this: To achieve this we will need a way to say that we want to position the adorner at the different corners of the element as well as to specify whether we want to be inside or outside (vertically or horizontally) of the element. Let's create some enumeration types that will serve for...
    May 22, 2008
  • Desktop WinForms

    Breaking changes in RadGridView for WinForms Q1 2008

    We at Telerik know that you, our clients, do not like breaking changes. With each release we get complaints that something has changed, even when it as small as a change in the name of a single property. We understand why you find them dreadful. More often than not software vendors do not speak of them openly and try to hide them at all costs. Often such changes are not well documented. As a result, a lot of time is spent on getting all issues resolved after the upgrade. We know that you are terrified from this process and prefer...
    April 17, 2008
  • Desktop WPF

    WPF Series: Adorners, Commands and Logical Tree

    Today I'm going to tell you a WPF story. But before I start to dig deeper let me first introduce you the main characters in this post. Here they are: Adorner - adorners are simple UIElement decorators. Suppose that you have a RichTextBox and you want to place a comment box over it, so that users can comment on the text in the box. This can be archived with adorners. Actually the WPF framework uses adorners internally for exactly the same purpose when you edit and annotate FlowDocument in a DocumentViewer. This is the reason why adorners are in System.Windows.Documents namespace. Command - commands are UI...
    April 16, 2008
  • Desktop WPF

    WPF, Silverlight and the Telerik MIX Show Off videos

    This year the  MIX conference had a very cool Show Off contest. Here's what the organizers had to say about it: "At MIX08, we’re hosting what will be a world famous Show Off event. If you’ve ever wanted to put the smack down on lesser mortals, flex your brain, and get everyone to gloat at your—deservedly—awe-inspiring work, this is what might be called a prime opportunity. We want you to inspire others with your unique software, tip, tool, technique, animation, or anything else we can’t think of. All you need to do is create a short, 3-minute-or-less video demonstrating what you want...
    March 12, 2008
  • Desktop WinForms WPF

    Have a safe trip from WinForms to WPF

    We have received several requests so far by customers who one way or another ask for the same thing: "Can you make your WPF controls in such a way that later when I convert my WinForms application (which use your WinForms controls) to WPF I wouldn't need to deal with different APIs and inconsistencies?".   In general, this could be achieved if we had: the same feature set in these two product lines the same API for our WinForms controls and WPF controls The first point is feasible and we'll do our best to do it.   The second, however, is something we probably won’t do....
    February 20, 2008