New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

The class holding the event arguments passed when a drag-drop event have fired.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridDragDropEventArgs : EventArgs

Inheritance: objectEventArgsGridDragDropEventArgs

Inherited Members EventArgs.Emptyobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridDragDropEventArgs(IList<GridDataItem> draggedItems, GridDataItem destDataItem, RadGrid destinationGrid, GridItemDropPosition dropPosition, GridTableView destinationTableView)
Parameters:draggedItemsIList<GridDataItem>destDataItemGridDataItemdestinationGridRadGriddropPositionGridItemDropPositiondestinationTableViewGridTableView
C#
public GridDragDropEventArgs(IList<GridDataItem> draggedItems, GridDataItem destDataItem, RadGrid destinationGrid, GridItemDropPosition dropPosition)
Parameters:draggedItemsIList<GridDataItem>destDataItemGridDataItemdestinationGridRadGriddropPositionGridItemDropPosition
C#
public GridDragDropEventArgs(IList<GridDataItem> draggedItems, string htmlElement)
Parameters:draggedItemsIList<GridDataItem>htmlElementstring

Properties

Gets the destination GridDataItem if the row have been dropped over a data item.

C#
public GridDataItem DestDataItem { get; }
Property Value:

The destination data item.

Gets the RadGrid control in which a row have been dropped.

C#
public RadGrid DestinationGrid { get; }
Property Value:

The destination grid.

Contains GridTableView instance to which belongs the destinationItem

C#
public GridTableView DestinationTableView { get; }

Gets a collection of all GridDataItem dragged items.

C#
public IList<GridDataItem> DraggedItems { get; }
Property Value:

The dragged items.

Gets the position at which the user has dragged and dropped the source item(s) with regards to the destination item.

C#
public GridItemDropPosition DropPosition { get; }

Gets the HTML element id attribute of the element on which the row have been dropped.

C#
public string HtmlElement { get; }
Property Value:

The HTML element.