TreeListControl Class
The TreeList control.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
[DXToolboxBrowsable]
[DataAccessMetadata("All", SupportedProcessingModes = "Simple")]
public class TreeListControl :
GridDataControlBase
#Remarks
The Silverlight DXTreeList is a TreeView-Grid multi-purpose data-aware control that can display information as a TREE, a GRID, or a combination of both - in either data bound or unbound mode.
The TreeListControl inherits the majority of market-leading features exposed by the Silverlight DXGrid. This includes: data editing, automatic and custom sorting and filtering, full end-user customization options, editable unbound columns and DevExpress Expression editor, built-in validation, automatic and manual summary calculation, UI virtualization and per-pixel scrolling, template and style support, UI localization, extendable context menus, design-time support and much more...
The Silverlight TreeList control uses the same View-based data presentation approach introduced by the DXGrid for Silverlight. It presents the most widely used method of presenting data - TreeListView. This view supports multi-column display of hierarchical data, data shaping and layout customization features such as Sorting and Filtering, Data Editing via Embedded Cell Editors, Column Auto Width, Column Reordering and Resizing, Fixed Columns, Field Chooser Window and Extendable Context Menus.
To bind the TreeList control to a data source, use the DataControlBase.ItemsSource property.
#Concepts
Hierarchical Data Presentation
The information is displayed in a TREE from hierarchical data structures.
-
A tree can be created on demand. Child nodes are dynamically created and initialized when their parent node is expanded.
-
You can manually create a TREE in XAML or code. Nodes can be represented by objects of different types. The only requirement is that these data objects should have common fields (columns).
-
To simplify managing hierarchical data (without writing additional recursive code), the DXTreeList for Silverlight ships with an easy to use API, so you can sequentially visit nodes starting from a specified node down to the last node.