Telerik blogs

Latest

  • Desktop WPF

    Highlighting Adjacent Points with RadChart for WPF

    There are times when we run into a scenario in which we need point selection on a chart.  Luckily, RadChart for WPF and Silverlight already has this feature - but what if you need to find the closest point to where you selected on a chart?  And what if you have multiple chart series that you are doing this with?  Normally, this would be a bit of a challenge as this involves figuring out where the user clicked, what is around it, etc. Luckily for us, we have charting wizards like Manol Donev on our team and an aggressive release cycle here at Telerik. The...
    February 02, 2011
  • Desktop WPF

    RadRichTextBox for WPF CTP

    We are happy to announce the first CTP version of the latest addition to our WPF suite: RadRichTextBox. RadRichTextBox was initially developed in Silverlight, but in response to numerous customer requests and following the tradition of keeping our WPF and Silverlight suites in sync, we are doing our best to provide a WPF version as soon as possible – so expect the first beta around the end of February, and a public release along with Q1 2011 – around the end of March 2011. You can check out our ClickOnce demo (for .NET 4.0 or for .NET 3.5 SP1) – assure you are...
    February 02, 2011
  • Desktop WPF

    Create Special Slots in Telerik ScheduleView for WPF

    With the new SP1 release of Q3 2010 we added a new feature to RadScheduleView that helps you customize every slot in a different way. To do that you should create an instance of the Slot class, set its Start and  End  properties, the Resources property - with this property you can define in which resource column the slot will be displayed, and the RecurrencePattern property - with this property you can define whether the slot will be displayed for repeating days or events like Christmas, WeekendDays  and Birthdays. For example let's say that we have a schedule control and want to customize the days that...
  • Desktop WPF

    Controlling TreeView’s ExpanderStyle Dynamically

    Sometimes the TreeView is used in scenarios where the expander style must be styled in custom fashion. Prior 2010 Q3 SP1 there was no easy way to dynamically change the expander style of the TreeView or particular item. TreeView’s ExpanderStyle So we decided to extend the functionality provided by the TreeView. Prior this enhancement changes to the ExpanderStyle property during runtime would not affect already visible items. The property now supports dynamic values and data binding. This way you can easily change the style of the expander of all items in the hierarchy during runtime. Item’s ExpanderStyle Working only with the TreeView’s ExpanderStyle...
    January 17, 2011
  • Desktop WPF

    Programatically selecting visual items with the new Interactivity API in RadChart for Silverlight / WPF

    Hi everyone! As you know RadChart supports selection and hover interactivity effects and 2010.Q3 release exposes an API that allows you, the developer, to control it. Now I am going to show you how you can select any number of items only by moving your mouse.   First let’s start with the rectangle selector that the user draws with its mouse. I have added a canvas on top of the Radchart to hold the rectangle. We need to listen to MouseLeftButtonDown, MouseMove and MouseLeftButtonUp events to control the rectangle position and size. The tricky part is how to convert the size of the rectangle...
    December 16, 2010