Telerik blogs
  • Web

    How To: Color Picker done with few slider controls

    This tutorial demonstrates how to create a color picker using nothing more than few elements and Telerik's slider control for Silverlight. To start off, create a new Silverlight project. It is up to you to decide whether you want a web page in the project or not. This particular example does not to include a web page, but a simple html page that is generated dynamically. Once you have the project created go ahead and add a reference to the Telerik.Windows.Controls.dll. At the top of your main UserControl, add a namespace in order to use the dll. Check if everything...
    August 06, 2008 4 min read
  • Desktop WPF

    New gaud for the 3-Dimensional WPF RadChart

    Last time I wrote about Labels in 3D, but it turned out to be more of a Step-By-Step How-To. This time the blog will be short and up to the point - our RadChart for WPF has a new shiny primitive, which is ... ta-daaaaa ... a 3-Dimensional Rounded Bar/Box.   Well, we are not the first to introduce such a primitive. It is, of course, easy to create rounded box model in 3D Studio Max, Maya or any other 3D-modeling tool (as other component vendors did for you), but that approach does not allow easy customization - each time you...
    August 05, 2008 2 min read
  • Web

    IntelliSense for Expression Blend

    [Update]: You can find the addin for Expression Blend 2.0 SP1 here. The problem Expression Blend has been out in the wild for quite some time. However one of the most annoying thing was the lack of autocompletion (aka IntelliSense). Most of devs/designers out there were constantly switching from Blend to VS and backwards to do their stuff. The great free tool Kaxaml is at great help as well. The solution Using the Blend 2.5 add-ins architecture I have created an add-in that adds IntelliSense in Blend. I have reused the code from Kaxaml and adapted it work within Blend. Take a look: Download You can download the add-in from here....
    August 04, 2008 2 min read
  • Desktop WPF

    WPF: The Static Nature of Dependency Properties

    With dependency properties being so heavily used across the WPF platform, there is a good chance that sooner or later you will get bitten by this issue my colleague Hristo Deshev and I were debugging not long ago. Some heads-up can't really hurt anybody so here it is;). We will declare a simple class Foo with a single collection dependency property (note that this is a reference type). We will also supply our brand new property with a default value through the convenient DependecyProperty.Register(...) method: Let us put our class to the test by creating two Foo instances and adding a single item...
    July 25, 2008 2 min read
  • Web

    Using ValueConverter to edit Slider's TickTemplate

    RadSlider for Silverlight has a neat functionality that allows you to display tick marks along the track. But what if you are not pleased with the current design of the ticks? Of course you can completely change the look of a tick mark. Let’s say that instead of bluish rectangles, you want your ticks to be ellipses, or triangles maybe. This is easily achieved by setting the TickTemplate property. <telerik:RadSlider TickPlacement="BottomRight" TickFrequency="1" Maximum="10">       <telerik:RadSlider.TickTemplate>             <DataTemplate>                   <Grid>                        ...
    July 24, 2008 3 min read