New to Telerik UI for WPFStart a free 30-day trial

Represents API for the drop visual providers for the Drag and Drop operations in RadListBox control.

Definition

Namespace:Telerik.Windows.DragDrop.Behaviors

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public interface IDropVisualProvider

Derived Classes: LinearDropVisualProvider

Methods

CreateDropVisual()

FrameworkElement

When overridden in a derived class allows customization of the drop visual.

C#
FrameworkElement CreateDropVisual()
Returns:

FrameworkElement

When overridden in derived class returns the margin for the container when the dragged element moves above it.

C#
Thickness GetDropCueHighlightMargin(RadListBoxItem container, Panel panel, FrameworkElement dropVisual)
Parameters:containerRadListBoxItempanelPaneldropVisualFrameworkElementReturns:

Thickness

When overridden in derived class returns the location which is used for render transforming the drop visual depending on the ItemDropPosition.

C#
Point GetLocation(RadListBoxItem container, Panel panel, ItemDropPosition dropPosition)
Parameters:containerRadListBoxItempanelPaneldropPositionItemDropPositionReturns:

Point

When overridden in derived class returns the location which is used for render transforming the drop visual.

C#
Point GetLocation(RadListBoxItem container, Panel panel)
Parameters:containerRadListBoxItempanelPanelReturns:

Point

When overridden in derived class indicates that visualizing the drop cue operation is finished.

C#
void VisualizeDropPlaceholderEnded(RadListBoxItem container, Panel panel, object dataItem, FrameworkElement dropVisual)
Parameters:containerRadListBoxItempanelPaneldataItemobjectdropVisualFrameworkElement

When overridden in derived class indicates that visualizing the drop cue operation is started.

C#
void VisualizeDropPlaceholderStarted(RadListBoxItem container, Panel panel, object dataItem, FrameworkElement dropVisual)
Parameters:containerRadListBoxItempanelPaneldataItemobjectdropVisualFrameworkElement