FlexPivot for WinForms
MouseCol プロパティ (C1FlexGridBase)

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス : MouseCol プロパティ
Gets the index of the column under the cursor.
シンタックス
'宣言
 
Public Overridable ReadOnly Property MouseCol As System.Integer
public virtual System.int MouseCol {get;}
解説

The MouseRow and MouseCol properties are often useful when handling the BeforeMouseDown event, to provide custom mouse handling. They are also useful when handling mouse events that do not change the selection and for detecting clicks on the fixed areas of the grid.

Typical uses for these properties include displaying help information or tooltips when the user moves the mouse over a selection, and the implementation of manual drag-and-drop manipulation of OLE objects.

MouseRow and MouseCol return -1 if the mouse is not over any rows or columns.

To obtain more detailed hit-testing information, use the HitTest(Int32,Int32) method.

参照

C1FlexGridBase クラス
C1FlexGridBase メンバ