Class
DragDrop<THelper, TBehavior, TState>

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:

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1005:AvoidExcessiveParametersOnGenericTypes")]
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: RadListBox.RadListBoxDragDropTaskBoardDragDropGridViewDragDropListBoxDragDrop

Constructors

DragDrop()

Declaration

cs-api-definition
protected DragDrop()

Fields

BehaviorProperty

Identifies the Behavior attached dependency property.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static readonly DependencyProperty BehaviorProperty

Field Value

DependencyProperty

DataConverterProperty

Identifies the DataConverter attached dependency property.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static readonly DependencyProperty DataConverterProperty

Field Value

DependencyProperty

DragVisualProviderProperty

Identifies the DragVisualProvider dependency property.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static readonly DependencyProperty DragVisualProviderProperty

Field Value

DependencyProperty

HelperProperty

Identifies the Helper dependency property.

Declaration

cs-api-definition
protected static readonly DependencyProperty HelperProperty

Field Value

DependencyProperty

Methods

GetBehavior(DependencyObject)

Gets the value of the Behavior attached property.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static TBehavior GetBehavior(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

TBehavior

GetDataConverter(DependencyObject)

Gets the value of the DataConverter attached property.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static DataConverter GetDataConverter(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

DataConverter

GetDragVisualProvider(DependencyObject)

Gets the value of the DataConverter attached property.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static IDragVisualProvider GetDragVisualProvider(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

IDragVisualProvider

SetBehavior(DependencyObject, TBehavior)

Sets the value of the Behavior attached property.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static void SetBehavior(DependencyObject obj, TBehavior value)

Parameters

obj

DependencyObject

value

TBehavior

SetDataConverter(DependencyObject, DataConverter)

Sets the value of the DataConverter attached property.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static void SetDataConverter(DependencyObject obj, DataConverter value)

Parameters

obj

DependencyObject

value

DataConverter

SetDragVisualProvider(DependencyObject, IDragVisualProvider)

Sets the value of the DataConverter attached property.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static void SetDragVisualProvider(DependencyObject obj, IDragVisualProvider value)

Parameters

obj

DependencyObject

value

IDragVisualProvider