編輯

共用方式為


DataGridView.HitTestInfo.ColumnX Property

Definition

Gets the x-coordinate of the beginning of the column that contains the coordinates described by the current DataGridView.HitTestInfo.

public:
 property int ColumnX { int get(); };
public int ColumnX { get; }
member this.ColumnX : int
Public ReadOnly Property ColumnX As Integer

Property Value

The x-coordinate of the column in the DataGridView that contains the coordinates described by the current DataGridView.HitTestInfo.

Applies to

See also