System.Windows.Forms.TreeView: Event Members

The events of System.Windows.Forms.TreeView are listed below. For a list of all members, see the TreeView Members list.

See Also: Inherited members from System.Windows.Forms.Control

Public Events

AfterCheck

Occurs after the tree node check box is checked.

AfterCollapse

Occurs after the tree node is collapsed.

AfterExpand

Occurs after the tree node is expanded.

AfterLabelEdit

Occurs after the tree node label text is edited.

AfterSelect

Occurs after the tree node is selected.

BackgroundImageChanged

Occurs when the TreeView.BackgroundImage property changes.

BackgroundImageLayoutChanged

Occurs when the TreeView.BackgroundImageLayout property changes.

BeforeCheck

Occurs before the tree node check box is checked.

BeforeCollapse

Occurs before the tree node is collapsed.

BeforeExpand

Occurs before the tree node is expanded.

BeforeLabelEdit

Occurs before the tree node label text is edited.

BeforeSelect

Occurs before the tree node is selected.

DrawNode

Occurs when a System.Windows.Forms.TreeView is drawn and the TreeView.DrawMode property is set to a System.Windows.Forms.TreeViewDrawMode value other than TreeViewDrawMode.Normal.

ItemDrag

Occurs when the user begins dragging a node.

NodeMouseClick

Occurs when the user clicks a System.Windows.Forms.TreeNode with the mouse.

NodeMouseDoubleClick

Occurs when the user double-clicks a System.Windows.Forms.TreeNode with the mouse.

NodeMouseHover

Occurs when the mouse hovers over a System.Windows.Forms.TreeNode.

PaddingChanged

Occurs when the value of the TreeView.Padding property changes.

Paint

Occurs when the System.Windows.Forms.TreeView is drawn.

RightToLeftLayoutChanged

Occurs when the value of the TreeView.RightToLeftLayout property changes.

TextChanged

Occurs when the TreeView.Text property changes.