Flexible TreeView 5.1.9 Help
Node styles

Flexible TreeView allows you a great deal of flexibility when customizing node appearance in any state. You can change anything from color to image and edit control.

In Flexible TreeView, the visual appearance has many levels of inheritance. The very first level is the current theme manager's settings, then it's the treeview's settings, then the node's settings, and then the node control's settings. Each level may be partially or fully overridden as described below.


Node.Style

The Style property contains a node's style that, if defined, overrides all styles below.
You can easily combine the node's style with the treeview's style by using the Style.Weak node property. If it is enabled, the node style combines with the treeview style. If it is disabled, only the Style node property settings will be used as a node style.

A node has styles for these states:

and all of them may be overridden.


Not selected

When a node is first added to the treeview, it is in general state, i.e. isn't selected or focused.
To control or override this state's style use these properties:


Hot

When a node is under the mouse cursor, it is in Hot state.
To control or override this state's style use these properties:


Soft selected

When a node is under the mouse cursor and soft selection mode is enabled, it is in soft selected state.
To control or override this state's style use these properties:


Selected

When a node is selected, it is in Selected state.
To control or override this state's style use these properties:


Focused

When a node is selected and has input focus, it is in Focused state.
To control or override this state's style use these properties:

 

Note that changes of the Images treeview property applies to all node states.

 

 


Copyright © 2006-2016 ARMSoft

www.FlexibleTreeView.com