FlexPivot for WinForms
BeforeDoubleClick イベント (C1FlexGridBase)
使用例 

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス : BeforeDoubleClick イベント
Fires before the DoubleClick event is handled by the grid.
シンタックス
'宣言
 
Public Event BeforeDoubleClick As BeforeMouseDownEventHandler
public event BeforeMouseDownEventHandler BeforeDoubleClick
イベント データ

イベント ハンドラが、このイベントに関連するデータを含む、BeforeMouseDownEventArgs 型の引数を受け取りました。次の BeforeMouseDownEventArgs プロパティには、このイベントの固有の情報が記載されます。

プロパティ解説
Gets which mouse button was pressed.  
Gets or sets a value indicating whether the event should be canceled.  
Gets the number of times the mouse button was pressed and released.  
Gets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel.  
Gets the x-coordinate of a mouse click.  
Gets the y-coordinate of a mouse click.  
解説
This event fires before the grid processes the System.Windows.Forms.Control.DoubleClick event, and gives the program a chance to customize the behavior of the control and optionally cancel the default handling of the mouse.
使用例
The code below handles the BeforeDoubleClick event to detect double-clicks on cells in a specific column and provide a custom edit dialog instead of using the built-in editor.
void _flex_BeforeDoubleClick(object sender, BeforeMouseDownEventArgs e)
{
	// detect double-clicks on column "Customer"
	HitTestInfo hti = _flex.HitTest(e.X, e.Y);
	if (hti.Type == HitTestTypeEnum.Cell && _flex[hti.Column].Name == "Customer")
	{
		e.Cancel = true;  // cancel default handling
		ShowCustomEditDialog(hti.Row, hti.Column); // handle row drag/drop
	}
}
参照