Bewerken

Delen via


TreeViewArray.NodeMouseClick Event

Definition

Occurs when the user clicks a TreeNode with the mouse.

public:
 event System::Windows::Forms::TreeNodeMouseClickEventHandler ^ NodeMouseClick;
public event System.Windows.Forms.TreeNodeMouseClickEventHandler NodeMouseClick;
member this.NodeMouseClick : System.Windows.Forms.TreeNodeMouseClickEventHandler 
Public Custom Event NodeMouseClick As TreeNodeMouseClickEventHandler 
Public Event NodeMouseClick As TreeNodeMouseClickEventHandler 

Event Type

Remarks

This event occurs when the user clicks any part of a tree node with the mouse, including the plus sign (+) or minus sign (-) that indicates whether the node is collapsed or expanded.

For more information about how to handle events, see Handling and Raising Events.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to