TreeView is a component that displays hierarchical information in a visual tree. It has many of the features of the RadTreeView for ASP.NET AJAX. A TreeView is composed of TreeViewItem objects, and these items have properties that enable specific functionality such as drag-and-drop, check boxes, and so forth.
TreeView can be created and populated with nodes declaratively or bound to a view model object or site map. It supports load on demand of items and animation effects and provides a client API.
12.8.1. Creating a TreeView Declaratively and Enabling Check Boxes
Let's examine how to populate a TreeView declaratively and how to enable the check boxes functionality with the ShowCheckBox property.
Listing 12-28 shows a TreeView ...