Click or drag to resize

TreeViewSelectionEvent Class

X#
Provide information about a tree view selection event, which is generated when the current selection in a tree view control has changed or is about to change.
Inheritance Hierarchy
Object
  Event
    ControlEvent
      ControlNotifyEvent
        TreeViewSelectionEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS TreeViewSelectionEvent INHERIT ControlNotifyEvent
Request Example View Source

The TreeViewSelectionEvent type exposes the following members.

Constructors
  NameDescription
Public methodTreeViewSelectionEvent
Initializes a new instance of the TreeViewSelectionEvent class
Top
Properties
  NameDescription
Public propertyKeyBoardAction
A logical value indicating whether the selection change was caused by a key press.
Public propertyMouseAction
A logical value indicating whether the selection change was caused by a mouse click.
Public propertyNewTreeViewItem
The TreeViewItem object that is selected as a result of this event.
Public propertyOldTreeViewItem
The TreeViewItem object that was selected before this event occurred.
Public propertySelectionChanged
A logical value indicating whether the selection has changed.
Public propertySelectionChanging
A logical value indicating whether the selection is about to change.
Public propertyUnknownAction
A logical value indicating whether the selection change was caused by an unknown source.
Top
Remarks
The tree view control generates this event whenever the current selection changes or is about to change. Information packaged in the event includes what caused the selection to change, as well as which item gained selection focus and which item lost it.
See Also

Reference