FlexGrid for WinForms
BeforeDragColumn Event

Fires when the user starts dragging a column.
<C1DescriptionAttribute("Fires when the user starts dragging a column.")>
Public Event BeforeDragColumn As DragRowColEventHandler
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.")]
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

See Also


C1FlexGridBase Class
C1FlexGridBase Members



Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback