Class CollectionViewDragDropBehavior
Defines the drag and drop behavior in RadCollectionView control.
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.Boolean
|
CollectionView
Gets the RadCollectionView control that owns the behavior.
Declaration
public RadCollectionView CollectionView { get; }
Property Value
RadCollectionView
|
Methods
CanDrop(CollectionViewDragDropContext)
Returns a value specifying whether the current drop operation can be completed.
Declaration
public virtual bool CanDrop(CollectionViewDragDropContext state)
Parameters
CollectionViewDragDropContext
state
|
Returns
System.Boolean
|
CanStartDrag(CollectionViewDragDropContext)
Returns a value specifying whether the drag operation can be started.
Declaration
public virtual bool CanStartDrag(CollectionViewDragDropContext state)
Parameters
CollectionViewDragDropContext
state
|
Returns
System.Boolean
|
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
CollectionViewDragDropContext
state
|
GetDropOperation(CollectionViewDragDropContext)
Returns the DropOperation for the current drag drop operation.
Declaration
public virtual DropOperation GetDropOperation(CollectionViewDragDropContext state)
Parameters
CollectionViewDragDropContext
state
|
Returns
DropOperation
|