• .NET

    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...
  • .NET

    TreeView BringIntoView

    Quite often TreeView is used in scenarios where a particular item should be displayed on the screen. You may want to display some item when the tree is initially shown on the screen or when a new item is added. These scenarios look simple but are a bit tricky because you have to wait until the TreeView loads and then make your desired actions. Waiting for Loaded Event TreeView provides the BringIntoView functionality in several forms: you can call BringIntoView from the tree itself and bring a child item; get some TreeViewItem by calling GetItemByPath and call BringIntoView upon this item container;...
  • .NET Mobile

    Introducing the RadNumericUpDown Control for Windows Phone 7

    December 13, 2010 Share
    While developing the RadControls for Windows Phone 7 QSF we heavily discussed how the screen real estate should be organized so that we can display as much content as possible without losing on the UX front. We have many examples where user input is required which automatically implies increased amount of controls on the example page and thus leading to difficulties when optimally using the screen space. For instance, our Animation examples allow for adjusting animation parameters to better demonstrate functionality. At the beginning we implemented the input via TextBox elements: we allowed the user to type in the desired value, after that...
  • .NET

    RadControls for Windows Phone 7 – an in-depth comparison with MS Toolkit

    December 10, 2010 Share
    Many users have asked the question “What are the differences between your controls and their equivalents in the Microsoft’s Toolkit for WP7”. With this article I will try to give you a more detailed perception on the added value of RadControls for Windows Phone 7. Please note that this is “our” point of view and how we see the differences between our suite and the Toolkit. We by no means belittle the efforts of Microsoft’s team that created such a nice components package.  I will list only the components/features that are present both in Telerik’s suite and the Toolkit. All of the...
  • .NET

    RadTreeView's TriState Mode in Deep

    November 19, 2010 Share
    Many of you have probably used Telerik's TreeView or going to do so in the future. One of its many features is the TriStateMode. In this blog post I'm going to explain how TriStateMode mode is designed to work and propagate the values up and down the tree. When in TriStateMode (IsTriStateMode=”True”) checking/unchecking an item makes the TreeView propagate the value. The value propagation actually checks/unchecks all items’ children and updates the chain of parents with appropriate value (checked, unchecked or undetermined). CheckState vs. IsChecked The TreeView exposes two properties used to manipulate items' check state - CheckState (of type ToggleState) and IsChecked...