Telerik blogs

Latest

  • Desktop WPF

    How to Implement AutoScroll While Dragging in RadTreeView

    With this short post I’ll explain how to achieve a functionality similar to the one shown bellow. Unable to display content. Adobe Flash is required.   The key to achieving this scenario is to use Behaviors. Start off by adding a reference to the System.Windows.Interactivity.dll which is located in: [WPF] C:\Program Files (x86)\Microsoft SDKs\Expression\Blend 3\Interactivity\Libraries\WPF\ [Silverlight] C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\Silverlight\v4.0\Libraries\ (note: the location of the binary might be different on your machine) Then create a class called AutoScrollBehavior.cs using System; using System.Windows; using System.Windows.Controls; using System.Windows.Interactivity; using Telerik.Windows.Controls; using Telerik.Windows.Controls.DragDrop; #if SILVERLIGHT using EventManager = Telerik.Windows.EventManager; #endif namespace TreeView.AutoScroll { public class AutoScrollBehavior : Behavior<RadTreeView> { protected override void OnAttached() { ...
    November 25, 2010
  • Desktop WPF

    Ignite your DataViz with Telerik Sparklines for Silverlight/WPF

    More and more customers are building dashboards and other rich line of business applications for Silverlight and WPF are discovering the potential of these platforms for data visualization. Not only are UI frameworks constantly evolving but there are new advancements in the field of dataViz itself which make the whole ecosystem even more interesting. Keeping up with with the industry trends Telerik is expanding it’s product portfolio with new controls to enable our customers to build fast, robust and rich dashboards in minutes.   One such addition which I will talk about today is our new sparklines controls. At first look the...
    November 11, 2010
  • Desktop WPF

    Keep your project and Toolbox in sync

    I guess the larger part of you have to maintain various projects using different versions of a Telerik suite, let’s say RadControls for ASP.NET AJAX. Having in mind the above mentioned scenario, working with two projects referring different versions of the Telerik.Web.UI assembly there are the following options :   Have parallel installs of both the RadControls versions on your machine. This one works fine until one day, while in a hurry, you just expand a RadControls group in your Toolbox, drag a control over your page, attempt to build the project and find it broken. The reason for...
    November 11, 2010
  • Desktop WPF

    RadOutlookBar – minimization capabilities

    In this blog post we will go through a new feature of the RadOutlookBar – the minimization capabilities. With the upcoming release of the RadControls for Silverlight and WPF the RadOutlookBar will come with a couple of new properties: IsMinimizable – boolean property that allows you to choose whether the RadOutlookBar can be minimized or not IsMinimized - boolean property that allows you to choose whether the RadOutlookBar should be minimized or not MinimizedWidth – double property that represents the width that will be set to the RadOutlookBar, when it is minimized MinimizedWidthThreshold – double property that represents at what width...
    November 09, 2010
  • Desktop WPF

    RadRating – the new Precision property

    With the upcoming release Q3 of RadControls for Silverlight and WPF the RadRating will come with a new feature – the Precision property. The Precision property have three predefined values: Item - you can rate with whole item (star) Half - you can rate with half item (star) Exact - you can rate with custom precision Examples Precision = Item (rate with whole item): <telerik:RadRating Precision="Item" ToolTipService.ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Value}" /> Precision = Half (rate with half item): <telerik:RadRating Precision="Half" ToolTipService.ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Value}" /> Precision = Exact (rate with custom precision): <telerik:RadRating Precision="Exact" ToolTipService.ToolTip="{Binding RelativeSource={RelativeSource Self},...
    November 09, 2010