Flexible TreeView it is more than just a treeview control. It will change your view of how hierarchical data can look and how intuitively understandable it can be to your user. This control was created by programmers for programmers, so it is incredibly simple to start using it because the API is well planned, flexible and clear. Also, it gives you unmatched flexibility in the control of the treeview appearance and behavior. You can change all parts of the tree, from colors to controls. That gives you the ability to seamlessly incorporate the treeview into your application. Moreover, you can replace all controls (scroll bars, edit controls, etc.) that are used in the tree with your own; that gives you unmatched flexibility when integrating with existing applications.
Flexible TreeView allows you to make the style of your application unique as well as intuitively clear to the most exacting user!
Treeview parts
Flexible TreeView consists from these parts:
Column header (optional) (1);
Display area (2);
Nodes (3);
Node controls (4);
Scroll bars (5).
Treeview structure
The treeview has one root and invisible node, accessible in the Root property. The root node is the parent of all root–level nodes and you can`t delete or hide it. Every root-level node is a child of the Root treeview node. Flexible TreeView provides quick access to all root–level nodes through the Nodes property. Every node consists of node controls added to the treeview which are bound to node class`s members (properties or fields).
Get started
To start working with Flexible TreeView, open a form in the Visual Studio form designer and drop Flexible TreeView control from the Toolbox. You then have the following options to construct the treeview as you want it:
Node control – is a core building unit of the treeview that displays and edits one piece of your data. Use the NodeControls property to change the node controls list;
Node – is a treeview unit that displays one node instance`s data. Note that every node is made up of all the node controls you`ve added! Use the Nodes property to change the root nodes list, or the AttachTo method to attach a node to a parent;
Columns - Flexible TreeView also allows you to show your data within columns. Use the Columns property to change the columns list;
Behavior - Flexible TreeView allows you to control the behavior of every part of the treeview. See these properties for details:
Options – overall treeview`s behavior;
DragDropOptions – drag & drop settings.
Appearance - You can change the appearance of every part of the treeview. See these properties for details:
Colors – override colors of the treeview`s current theme;
Images – override images of the treeview`s current theme;
Background – background settings;
TextStyle – text style and appearance settings.
Deployment
To deploy your application with Flexible TreeView you need to deploy these assemblies:
ARMSoft.FlexibleTreeView.dll – mandatory;
ARMSoft.FlexibleTreeView.Design.dll – only if you want give your user to design a treeview in run–time (for example, using the PropertyGrid control).