DragDrop

Name Value
Assembly Catel.MVVM
Namespace Catel.Windows.Interactivity
Available on .NET Framework 4.5, .NET Framework 4.6
public class DragDrop : BehaviorBase<ItemsControl>

Base types BehaviorBase

An attached behavior that allows you to drag and drop items among various ItemsControls, e.g. ItemsControl, ListBox, TabControl, etc.

Remarks

This code was originally found at http://wpfbehaviorlibrary.codeplex.com/, which is based on http://gallery.expression.microsoft.com/DragDropBehavior/. Original license: Ms-Pl, compatible with the MIT license.

Fields

Properties

DataTemplate

Gets or sets the data template of the items to use while dragging.

DropIndication

Gets or sets the drop indication.

Remarks

The default is vertical.

ItemType

Gets or sets the type of the items in the ItemsControl.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion