System.Windows.Forms.ListViewHitTestLocations Enumeration

Defines constants that represent areas in a System.Windows.Forms.ListView or System.Windows.Forms.ListViewItem.

Syntax

[System.Flags]
public enum ListViewHitTestLocations

Remarks

The System.Windows.Forms.ListViewHitTestLocations enumeration is used by the System.Windows.Forms.ListViewHitTestInfo class.

Members

Member NameDescription
AboveClientArea

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

BelowClientArea

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

Image

A position within the bounds of an image contained in a System.Windows.Forms.ListView or System.Windows.Forms.ListViewItem.

Label

A position within the bounds of a text area contained in a System.Windows.Forms.ListView or System.Windows.Forms.ListViewItem.

LeftOfClientArea

A position to the left of the client portion of a System.Windows.Forms.ListView control.

None

A position outside the bounds of a System.Windows.Forms.ListViewItem

RightOfClientArea

A position to the right of the client portion of a System.Windows.Forms.ListView control.

StateImage

A position within the bounds of an image associated with a System.Windows.Forms.ListViewItem that indicates the state of the item.

Requirements

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