Class CollectionViewDragDropBehavior
Defines the drag and drop behavior in Rad
Inheritance
Namespace: Telerik.Maui.Controls.CollectionView
Assembly: Telerik.Maui.Controls.dll
Syntax
public class CollectionViewDragDropBehavior : Object
Constructors
CollectionViewDragDropBehavior()
Declaration
public CollectionViewDragDropBehavior()
Properties
AllowDrop
Gets or sets the value specifying whether the CollectionViewDragDropBehavior can perform drop.
Declaration
public bool AllowDrop { get; set; }
Property Value
System.
|
CollectionView
Gets the Rad
Declaration
public RadCollectionView CollectionView { get; }
Property Value
Methods
CanDrop(CollectionViewDragDropContext)
Returns a value specifying whether the current drop operation can be completed.
Declaration
public virtual bool CanDrop(CollectionViewDragDropContext state)
Parameters
Returns
System.
|
CanStartDrag(CollectionViewDragDropContext)
Returns a value specifying whether the drag operation can be started.
Declaration
public virtual bool CanStartDrag(CollectionViewDragDropContext state)
Parameters
Returns
System.
|
Drop(CollectionViewDragDropContext)
Completes the drop operation. This method is called only in the context of the drop target control.
Declaration
public virtual void Drop(CollectionViewDragDropContext state)
Parameters
GetDropOperation(CollectionViewDragDropContext)
Returns the Drop
Declaration
public virtual DropOperation GetDropOperation(CollectionViewDragDropContext state)