Interface
IDropVisualProvider

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:

cs-api-definition
public interface IDropVisualProvider

Methods

CreateDropVisual()

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

Declaration

cs-api-definition
FrameworkElement CreateDropVisual()

Returns

FrameworkElement

GetDropCueHighlightMargin(RadListBoxItem, Panel, FrameworkElement)

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

Declaration

cs-api-definition
Thickness GetDropCueHighlightMargin(RadListBoxItem container, Panel panel, FrameworkElement dropVisual)

Parameters

container

RadListBoxItem

panel

Panel

dropVisual

FrameworkElement

Returns

Thickness

GetLocation(RadListBoxItem, Panel)

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

Declaration

cs-api-definition
Point GetLocation(RadListBoxItem container, Panel panel)

Parameters

container

RadListBoxItem

panel

Panel

Returns

Point

GetLocation(RadListBoxItem, Panel, ItemDropPosition)

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

Declaration

cs-api-definition
Point GetLocation(RadListBoxItem container, Panel panel, ItemDropPosition dropPosition)

Parameters

container

RadListBoxItem

panel

Panel

dropPosition

ItemDropPosition

Returns

Point

VisualizeDropPlaceholderEnded(RadListBoxItem, Panel, object, FrameworkElement)

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

Declaration

cs-api-definition
void VisualizeDropPlaceholderEnded(RadListBoxItem container, Panel panel, object dataItem, FrameworkElement dropVisual)

Parameters

container

RadListBoxItem

panel

Panel

dataItem

object

dropVisual

FrameworkElement

VisualizeDropPlaceholderStarted(RadListBoxItem, Panel, object, FrameworkElement)

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

Declaration

cs-api-definition
void VisualizeDropPlaceholderStarted(RadListBoxItem container, Panel panel, object dataItem, FrameworkElement dropVisual)

Parameters

container

RadListBoxItem

panel

Panel

dataItem

object

dropVisual

FrameworkElement