This class is an adapter which creates a Graph from hierarchical business data.
Namespace: yWorks.yFiles.UI.DataBindingAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public class TreeSource : DependencyObject, ISupportInitialize |
| Visual Basic |
|---|
Public Class TreeSource _ Inherits DependencyObject _ Implements ISupportInitialize |
Remarks
The nodes in the tree are determined using the NodesSource and ChildBinding properties.
Nodes will be visualized using the Style for NodeControls has been assigned to the NodeControlStyle
property.
The created Graph is a directed forest, a set of directed trees. Each directed tree has exactly
one root node with no incoming edges. For every other node v in a directed tree there is exactly
one directed path from the root node of the directed tree to node v.
This class can be used to dynamically update the Graph
when the underlying collection of the business objects (NodesSource and ChildBinding) changes.
Inheritance Hierarchy
System..::..Object
System.Windows..::..DependencyObject
yWorks.yFiles.UI.DataBinding..::..TreeSource
System.Windows..::..DependencyObject
yWorks.yFiles.UI.DataBinding..::..TreeSource