InterfaceIDropVisualProvider
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:
public interface IDropVisualProvider
Methods
CreateDropVisual()
When overridden in a derived class allows customization of the drop visual.
Declaration
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
Thickness GetDropCueHighlightMargin(RadListBoxItem container, Panel panel, FrameworkElement dropVisual)
Parameters
container
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
Point GetLocation(RadListBoxItem container, Panel panel)
Parameters
container
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
Point GetLocation(RadListBoxItem container, Panel panel, ItemDropPosition dropPosition)
Parameters
container
panel
Panel
dropPosition
Returns
Point
VisualizeDropPlaceholderEnded(RadListBoxItem, Panel, object, FrameworkElement)
When overridden in derived class indicates that visualizing the drop cue operation is finished.
Declaration
void VisualizeDropPlaceholderEnded(RadListBoxItem container, Panel panel, object dataItem, FrameworkElement dropVisual)
Parameters
container
panel
Panel
dataItem
dropVisual
FrameworkElement
VisualizeDropPlaceholderStarted(RadListBoxItem, Panel, object, FrameworkElement)
When overridden in derived class indicates that visualizing the drop cue operation is started.
Declaration
void VisualizeDropPlaceholderStarted(RadListBoxItem container, Panel panel, object dataItem, FrameworkElement dropVisual)
Parameters
container
panel
Panel
dataItem
dropVisual
FrameworkElement