System.Windows.Forms.TreeViewHitTestLocations Enumeration

Defines constants that represent areas of a System.Windows.Forms.TreeView or System.Windows.Forms.TreeNode.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
[System.Flags]
public enum TreeViewHitTestLocations

Remarks

The System.Windows.Forms.TreeViewHitTestLocations enumeration is used by the System.Windows.Forms.TreeViewHitTestInfo class.

Members

Member NameDescription
AboveClientArea

A position above the client portion of a System.Windows.Forms.TreeView control.

BelowClientArea

A position below the client portion of a System.Windows.Forms.TreeView control.

Image

A position within the bounds of an image contained on a System.Windows.Forms.TreeView or System.Windows.Forms.TreeNode.

Indent

A position in the indentation area for a System.Windows.Forms.TreeNode.

Label

A position on the text portion of a System.Windows.Forms.TreeNode.

LeftOfClientArea

A position to the left of the client area of a System.Windows.Forms.TreeView control.

None

A position in the client area of the System.Windows.Forms.TreeView control, but not on a node or a portion of a node.

PlusMinus

A position on the plus/minus area of a System.Windows.Forms.TreeNode.

RightOfClientArea

A position to the right of the client area of the System.Windows.Forms.TreeView control.

RightOfLabel

A position to the right of the text area of a System.Windows.Forms.TreeNode.

StateImage

A position within the bounds of a state image for a System.Windows.Forms.TreeNode.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0