Version

XamTreeGrid Class

A DataPresenterBase derived control that uses a TreeView and an associated TreeViewPanel to arrange DataRecords in a tree grid layout.
Syntax
Remarks

The XamTreeGrid is essentially a XamDataPresenter that implements a single view i.e., a TreeView. It contains the same functionality as a XamDataPresenter that has its View property set to an instance of a TreeView, without the ability to dynamically switch between views.

If you need the tree grid layout provided by a TreeView and don't need the ability to dynamically switch to other views, you should use the XamTreeGrid rather than the XamDataPresenter. It's a bit more convenient to use than the XamDataPresenter since it exposes a ViewSettings property of type TreeViewSettings directly off the control for easy manipulation of the properties that control all aspects of grid layout.

Refer to the TreeViewSettings topic for detailed information on all available properties.

Refer to the Theory of Operation topic in the Developer's Guide for an explanation of how this control operates.

Refer to the Working with XamTreeGrid, xamDataCarousel and xamDataPresenter Styling Points topic in the Developer's Guide for an explanation of how to style the control.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also