Resco AdvancedTree Control
For a list of all members of this type, see AdvancedTree Members.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
Resco.Controls.AdvancedTree.AdvancedTree
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Resco AdvancedTree control enables you to display a tree of nodes to the user that the user can select or deselect by clicking. This behavior is controled by the SelectionMode property. An AdvancedTree control can provide single or multiple selections using the MultiSelect property. You can handle the AfterNodeSelect event to do some additional processing when the node is selected or deselected. You can also set the SelectedNode or get the array of the SelectedNodes. Or you can just use the EnsureVisible function, to scroll the control to desired node.
The AdvancedTree displays each Node in the Nodes collection with defined NodeTemplate which depends on whether the Node is selected or not. All the templates are stored in the Templates collection and provides rich user interface experience, using various types of Cells to display data. You can handle the CellClick event to give response when the user clicked the cell. Or you can use the LinkCell and handle the LinkClick event for similar user experience.
The control can also display Header which is not scrolled away, if the ShowHeader property is set to true. With the GridLines and GridColor properties you can control, if there the gridlines between nodes are displayed and their color. The overall look of control can be tuned with the BorderStyle and BackColor properties.
When manualy loading the data or doing more operations with the AdvancedTree it is recomended to use the BeginInit and EndInit methods.
The control is specially designed for Compact Framework and optimized for designing in visual designer. For an examples of usage see the
Notes to Inheritors: During the further developement of the AdvancedTree control non-public properties and methods can be a subject to change. It is not recomended to inherit from this class.
Namespace: Resco.Controls.AdvancedTree
Assembly: Resco.AdvancedTree.CF3 (in Resco.AdvancedTree.CF3.dll)
AdvancedTree Members | Resco.Controls.AdvancedTree Namespace | Samples | NodeTemplate