Class DragDropBehavior<TState>
Inheritance
System.Object
DragDropBehavior<TState>
Namespace: Telerik.UI.Xaml.Controls.DragDrop.Behaviors
Assembly: Telerik.WinUI.Controls.dll
Syntax
public abstract class DragDropBehavior<TState> : DependencyObject, IDragDropBehavior<TState> where TState : DragDropState
Type Parameters
TState
|
Constructors
DragDropBehavior()
Declaration
protected DragDropBehavior()
Fields
ItemTypeProperty
Declaration
public static readonly DependencyProperty ItemTypeProperty
Field Value
Microsoft.
|
Properties
AllowReorder
Declaration
public bool AllowReorder { get; set; }
Property Value
System.
|
ItemType
Declaration
public Type ItemType { get; set; }
Property Value
System.
|
Methods
CanDrop(TState)
Declaration
public virtual bool CanDrop(TState state)
Parameters
TState
state
|
Returns
System.
|
Implements
CanStartDrag(TState)
Declaration
public virtual bool CanStartDrag(TState state)
Parameters
TState
state
|
Returns
System.
|
Implements
CoerceDraggedItems(TState)
Declaration
public virtual IEnumerable CoerceDraggedItems(TState state)
Parameters
TState
state
|
Returns
System.
|
Implements
CopyDraggedItems(TState)
Declaration
protected virtual IEnumerable<object> CopyDraggedItems(TState state)
Parameters
TState
state
|
Returns
System.
|
DragDropCanceled(TState)
Declaration
public virtual void DragDropCanceled(TState state)
Parameters
TState
state
|
Implements
DragDropCompleted(TState)
Declaration
public virtual void DragDropCompleted(TState state)
Parameters
TState
state
|
Implements
Drop(TState)
Declaration
public virtual void Drop(TState state)
Parameters
TState
state
|
Implements
GetDragDropEffects(TState)
Declaration
public virtual DragDropEffects GetDragDropEffects(TState state)
Parameters
TState
state
|
Returns
InsertItems(IList, Int32, IEnumerable)
Declaration
protected static void InsertItems(IList source, int index, IEnumerable items)
Parameters
System.
|
System.
|
System.
|
IsMovingItems(TState)
Declaration
protected virtual bool IsMovingItems(TState state)
Parameters
TState
state
|
Returns
System.
|
RemoveItems(IList, IEnumerable)
Declaration
protected static void RemoveItems(IList source, IEnumerable items)
Parameters
System.
|
System.
|