Programming Guide : 7. Working with List Views and Tree Views : Treeview Fields : Treeview Field Events
 
Share this page                  
Treeview Field Events
The SetValue event occurs when the user clicks the text or the bitmap label of a node; when this happens, the node's IsSelected attribute is set to TRUE.
Two other events that you may find useful are the Expanded and Collapsed events. These events occur when the user expands or collapses a node by clicking the box that contains a plus sign or a minus sign. The second example displays a message in the frame's status bar when either of these events occurs.