Description:
Sets the model used by the tree view. If the model is MODEL_LISTVIEW a item will not be allowed to have children. Also, you should never use the
AddChild,
InsertChild,
ExpandAll,
CollapseAll,
Expand and
Collapse functions. Those functions are available only when the model is set to MODEL_TREEVIEW. When set to MODEL_TREEVIEW an item can have children.
Note: Is mandatory to set this property BEFORE you start adding items or columns into the tree view. Once a tree view contains columns or items, you should NOT change this property. Failing to do so will result in unpredictable behavior of your application.