System.Windows.Forms.DataGridViewHitTestType Enumeration

Specifies a location in a System.Windows.Forms.DataGridView control.

Syntax

public enum DataGridViewHitTestType

Remarks

A System.Windows.Forms.DataGridView.HitTestInfo describes a coordinate pair on the System.Windows.Forms.DataGridView control. The System.Windows.Forms.DataGridView.HitTestInfo.Type property indicates which part of the System.Windows.Forms.DataGridView contains the point.

Members

Member NameDescription
Cell

A cell in the System.Windows.Forms.DataGridView.

ColumnHeader

A column header in the System.Windows.Forms.DataGridView.

HorizontalScrollBar

The horizontal scroll bar of the System.Windows.Forms.DataGridView.

None

An empty part of the System.Windows.Forms.DataGridView.

RowHeader

A row header in the System.Windows.Forms.DataGridView.

TopLeftHeader

The top left column header in the System.Windows.Forms.DataGridView.

VerticalScrollBar

The vertical scroll bar of the System.Windows.Forms.DataGridView.

Requirements

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