Telerik blogs

Latest

  • Desktop

    Saving a few lines of code. Part II - Doing reflection

    I was just about to write the second blog post of the series, this time involving currying, the forward pipe operator and other functional programming beauties when two people discouraged me from doing it. First Mike from the WinForms team kindly implied that with functional C# programming I can get some permanent brain damages and I definitely won't keep my audience concentrated. Then came Joe Zydeco's comment to my previous blog post and I gave up. I don't know why people don't like functional C# programming but point taken, no more functional C# in my blog posts (for those of you who like it,...
    July 16, 2008
  • Desktop WPF

    Placing 2D labels in a 3D scene

    Hello everyone, Since that is my first blog, I suppose a short introduction won't do a harm. My name is Evtim Papushev and I am Software Developer @ Telerik. I'm in the Charting division and I currently work on the new RadChart for WPF. Well, that's enough about me, now let's move to the today's topic.   Placing labels in a 3-dimensional scene isn't an issue at all. Well, at least technically, it is simple - place a 3D model, then set text box as diffuse material, set the texture coordinates and you are ready to roll. What such a solution lacks is business...
    July 08, 2008
  • Desktop WPF

    RadControls for WPF -- Now with Filtering Support

    Boy, am I excited! We managed to push our second public beta out of the door, getting ready for the big Q2 release. Here is what's new: I am especially proud with the new filtering support in RadGridView. We designed the feature so that it would both allow you to plug your own filtering logic and have a cool default UI that will let your users quickly filter the grid. An image is worth more than a thousand words, so here it goes: RadCarousel got even fancier. Check those reflections: We got several new controls, freshly-ported from the upcoming Silverlight control suite:...
  • Desktop WPF

    Caveats with WPF dynamic resources and animations.

    Recently we've been building some cool stuff in WPF with resources and animations. In this post I will share some experience with a bug from our code base I fought recently. The actual code is complex, so here is a simple example that I used when hunting the nasty bug (source code is in the bottom of the page): <Window x:Class="WpfApplication1.Window1"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    Title="Window1" Height="300" Width="300">     <Window.Resources>         <Style TargetType="{x:Type Rectangle}" x:Key="RectangleStyle">             <Setter Property="Fill" Value="Blue" />         </Style>     </Window.Resources>     <Grid Name="testGrid" >        ...
    June 27, 2008
  • Desktop WPF

    WPF Data Binding: Unraveling data templates

    Data binding in WPF in general and particularly working with data templates tends to be quite tricky some times. Here I'll present you some more advanced tips for dealing with data templates. To start with, I want to refer to an article I read a while ago. It is about the basics of data templates and I want to use it as a starting point and a foundation to build on. If you are just starting to work with WPF or you have never met with data templates, please read it first to get acquainted with the idea. I'll use ItemsControl for...
    June 18, 2008