ComponentOne TreeMap for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1GridView Class / ColumnMoving Event

In This Topic
    ColumnMoving Event
    In This Topic
    Occurs when a column is moved, but before the C1GridView handles the operation.
    Syntax
    'Declaration
     
    Public Event ColumnMoving As C1GridViewColumnMoveEventHandler
    public event C1GridViewColumnMoveEventHandler ColumnMoving
    Event Data

    The event handler receives an argument of type C1GridViewColumnMoveEventArgs containing data related to this event. The following C1GridViewColumnMoveEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Index of the new position.  
    Drag source, the C1BaseField object being dragged.  
    Drop target, the C1BaseField object on which drag source is dropped.  
    Position to drop relative to drop target.  
    Remarks
    To cancel the action set the Cancel property of the C1GridViewColumnMoveEventArgs object to true.
    See Also