Defines a drag-and-drop behavior that facilitates the interaction between helper, behavior, and state types.
Definition
Namespace:Telerik.Windows.DragDrop.Behaviors
Assembly:Telerik.Windows.Controls.dll
Type Parameters:
THelper
The type of the helper associated with the drag-and-drop operation.
TBehavior
The type of the behavior that manages drag-and-drop events.
TState
The type representing the state of the drag-and-drop operation.
Syntax:
public abstract class DragDrop<THelper, TBehavior, TState> where THelper : DragDropHelper<TBehavior, TState>, new() where TBehavior : DragDropBehavior<TState> where TState : DragDropState, new()
Inheritance: objectDragDrop<THelper, TBehavior, TState>
Derived Classes:
Constructors
protected DragDrop()
Fields
BehaviorProperty
DependencyProperty
Identifies the Behavior attached dependency property.
public static readonly DependencyProperty BehaviorProperty
DataConverterProperty
DependencyProperty
Identifies the DataConverter attached dependency property.
public static readonly DependencyProperty DataConverterProperty
DragVisualProviderProperty
DependencyProperty
Identifies the DragVisualProvider dependency property.
public static readonly DependencyProperty DragVisualProviderProperty
HelperProperty
DependencyProperty
Identifies the Helper dependency property.
protected static readonly DependencyProperty HelperProperty
Methods
GetBehavior(DependencyObject)
TBehavior
Gets the value of the Behavior attached property.
public static TBehavior GetBehavior(DependencyObject obj)
TBehavior
Gets the value of the DataConverter attached property.
public static DataConverter GetDataConverter(DependencyObject obj)
Gets the value of the DataConverter attached property.
public static IDragVisualProvider GetDragVisualProvider(DependencyObject obj)
Sets the value of the Behavior attached property.
public static void SetBehavior(DependencyObject obj, TBehavior value)
Sets the value of the DataConverter attached property.
public static void SetDataConverter(DependencyObject obj, DataConverter value)
Sets the value of the DataConverter attached property.
public static void SetDragVisualProvider(DependencyObject obj, IDragVisualProvider value)