www.Chart4.NET | Samples
Assembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 2.6.0.0 (2.6)
If you set Name property for the tree nodes, ensure that it is unique among tree nodes.
CopyC#
TreeView control or object that contains data items (nodes) together with text, title, tooltip, imageindex etc. Each line of text (the first one being the node-title) should be separated by \n in the tree-node's text property.
Namespace:
UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 2.6.0.0 (2.6)
Syntax
| C# |
|---|
public TreeView hpDataTree { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property hpDataTree As TreeView |
| Visual Basic (Usage) |
|---|
Dim instance As HierarchyWin Dim value As TreeView value = instance.hpDataTree instance.hpDataTree = value |
| Visual C++ |
|---|
public: property TreeView^ hpDataTree { TreeView^ get (); void set (TreeView^ value); } |
| J# |
|---|
/** @property */ public TreeView get_hpDataTree() /** @property */ public void set_hpDataTree(TreeView value) |
| JScript |
|---|
public function get hpDataTree () : TreeView public function set hpDataTree (value : TreeView) |
| JavaScript |
|---|
function get_hpDataTree(); function set_hpDataTree(value); |
Field Value
System.Windows.Forms.TreeView
Remarks
If you set Name property for the tree nodes, ensure that it is unique among tree nodes.
Examples
hierarchyWin1.hpDataTree = TreeView1;//System.Windows.Forms.TreeView object