Telerik blogs

Hello everyone and welcome back to XAMLflix with RadTreeView for Silverlight and WPF. I hope you have been enjoying the series as last week we took a look at RadZipLibrary and RadTileView.

What is XAMLflix you might ask? Well, it is Telerik’s way of teaching you how to use both new and existing controls from Telerik’s XAML suite. Each and every Thursday, we will provide a fresh batch of videos and sample projects highlighting a different control. Since our Silverlight and WPF share a common codebase and API, you only have to learn how to use these controls once! You can simply copy and paste the code between frameworks.

Be sure to check out www.telerik.com/xamlflix for all the videos!

Meet RadTreeView

RadTreeView allows you to display hierarchical structures with a powerful data binding and a load on demand mechanism. It comes complete with the option for checkboxes, icons, multiple selections and a host of other must-have features.

  • Getting Started with RadTreeView – In this video, we will see just how easy it is to work with RadTreeView from within your Silverlight and WPF Application. We will display a hierarchical structure and look at Drag and Drop Support built into the control. We will also look at several properties such as the SelectionMode and IsSingleExpandPath.(Download the Project)
  • Adding Images for Each Item Slate with RadTreeView – RadTreeView gives you the ability to define images for each item state. You can set the default image for a treeview item, set an image when the item is selected and you can also set the image when the item is expanded. In this video, we will take a look at how to do just this. (Download the Project)
  • UI Virtualization and Loading Items on Demand with RadTreeViewIn this video, we will discover that RadTreeView supports UI Virtualization, which processes only information loaded in the viewable area, which reduces the memory footprint of the application and speeds up the loading time thus enhancing additionally the UI performance.We will also take a look at the “Load on Demand” feature as it lets the nodes load their child nodes as the user expands the parent by clicking on the expander icon. (Download the Project 1 and 2)
  • Implement a Tri-state CheckBox using MVVM with RadTreeView - Some applications use checkboxes that allow an indeterminate state in addition to the two provided by a normal checkbox. This third state is shown as a dash in the checkbox, and indicates that its state is neither checked nor unchecked. This is most often used when the checkbox is tied to a collection of items in mixed states. In this video, we are going to investigate how you would do this using RadTreeView and the MVVM Pattern. (Download the Project)

Wrap-Up

Thanks for reading (and watching) and if you have any questions or comments then please let me know. Also, keep watching the XAMLflix page as we are releasing two new videos series each and every week. You should also go back and watch any videos that you may have missed.

XAMLflix Download RadControls for Silverlight & WPF


MichaelCrump
About the Author

Michael Crump

is a Microsoft MVP, Pluralsight and MSDN author as well as an international speaker. He works at Telerik with a focus on everything mobile.  You can follow him on Twitter at @mbcrump or keep up with his various blogs by visiting his Telerik Blog or his Personal Blog.

Comments

Comments are disabled in preview mode.