FlexPivot for WinForms
BeforeDragColumn イベント (C1FlexGridBase)

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス : BeforeDragColumn イベント
Fires when the user starts dragging a column.
シンタックス
'宣言
 
Public Event BeforeDragColumn As DragRowColEventHandler
public event DragRowColEventHandler BeforeDragColumn
イベント データ

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

プロパティ解説
Gets or sets a value indicating whether the drag operation should be canceled.  
Gets the original index of the column that was dragged by the user.  
Gets the new index of the column or row that was dragged by the user.  
Gets the original index of the row that was dragged by the user.  
解説

This event only fires when the user drags a column using the mouse.

It is does not fire when a column is moved using the ColumnCollection.Move method.

You can prevent specific columns from being dragged by the user by setting their RowCol.AllowDragging property to false.

参照