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.UI.Xaml.DependencyProperty
|
Properties
AllowReorder
Declaration
public bool AllowReorder { get; set; }
Property Value
|
System.Boolean
|
ItemType
Declaration
public Type ItemType { get; set; }
Property Value
|
System.Type
|
Methods
CanDrop(TState)
Declaration
public virtual bool CanDrop(TState state)
Parameters
|
TState
state
|
Returns
|
System.Boolean
|
Implements
CanStartDrag(TState)
Declaration
public virtual bool CanStartDrag(TState state)
Parameters
|
TState
state
|
Returns
|
System.Boolean
|
Implements
CoerceDraggedItems(TState)
Declaration
public virtual IEnumerable CoerceDraggedItems(TState state)
Parameters
|
TState
state
|
Returns
|
System.Collections.IEnumerable
|
Implements
CopyDraggedItems(TState)
Declaration
protected virtual IEnumerable<object> CopyDraggedItems(TState state)
Parameters
|
TState
state
|
Returns
|
System.Collections.Generic.IEnumerable<System.Object>
|
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
|
DragDropEffects
|
InsertItems(IList, Int32, IEnumerable)
Declaration
protected static void InsertItems(IList source, int index, IEnumerable items)
Parameters
|
System.Collections.IList
source
|
|
System.Int32
index
|
|
System.Collections.IEnumerable
items
|
IsMovingItems(TState)
Declaration
protected virtual bool IsMovingItems(TState state)
Parameters
|
TState
state
|
Returns
|
System.Boolean
|
RemoveItems(IList, IEnumerable)
Declaration
protected static void RemoveItems(IList source, IEnumerable items)
Parameters
|
System.Collections.IList
source
|
|
System.Collections.IEnumerable
items
|