Click or drag to resize

TreeViewExpandingEvent Class

X#
Provide information about a tree view expanding event, which is generated when an item in a tree view is about to be expanded or collapsed, exposing or hiding its children.
Inheritance Hierarchy
Object
  Event
    ControlEvent
      ControlNotifyEvent
        TreeViewExpandingEvent

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

The TreeViewExpandingEvent type exposes the following members.

Constructors
  NameDescription
Public methodTreeViewExpandingEvent
Initializes a new instance of the TreeViewExpandingEvent class
Top
Properties
  NameDescription
Public propertyTreeViewItem
The TreeViewItem object which is being modified.
Top
Remarks
The tree view control generates this event whenever one of its items is about to be expanded or collapsed. Information packaged in the event object includes which item is affected. The primary difference between this object and the TreeViewExpandedEvent is that this event is generated before the expand/collapse action occurs.
See Also

Reference