'Declaration Public Event ColumnDragCanceled As EventHandler(Of ColumnDragCanceledEventArgs)
public event EventHandler<ColumnDragCanceledEventArgs> ColumnDragCanceled
The event handler receives an argument of type ColumnDragCanceledEventArgs containing data related to this event. The following ColumnDragCanceledEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CancelType | The type of operation that occured. |
Column (Inherited from Infragistics.Controls.Grids.ColumnEventArgs) | The ColumnEventArgs.Column that this event was triggered for. |
AddHandler Me.MyGrid.ColumnDragCanceled, AddressOf MyGrid_ColumnDragCanceled Private Sub MyGrid_ColumnDragCanceled(ByVal sender As System.Object, ByVal e As ColumnDragCanceledEventArgs) System.Diagnostics.Debug.WriteLine("Drag operation on Column " + e.Column.Key.ToString + " was cancelled due to " + e.CancelType.ToString) End Sub
this.MyGrid.ColumnDragCanceled += new EventHandler<ColumnDragCanceledEventArgs>(MyGrid_ColumnDragCanceled); void MyGrid_ColumnDragCanceled(object sender, ColumnDragCanceledEventArgs e) { System.Diagnostics.Debug.WriteLine("Drag operation on Column " + e.Column.Key + " was cancelled due to " + e.CancelType); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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