C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : BeforeDragColumn Event |
'Declaration
<C1DescriptionAttribute("Fires when the user starts dragging a column.")> Public Event BeforeDragColumn As DragRowColEventHandler
'Usage
Dim instance As C1FlexGridBase Dim handler As DragRowColEventHandler AddHandler instance.BeforeDragColumn, handler
[C1Description("Fires when the user starts dragging a column.")] public event DragRowColEventHandler BeforeDragColumn
[C1Description("Fires when the user starts dragging a column.")] public: event DragRowColEventHandler^ BeforeDragColumn
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2