Interface IDropVisualProvider
Represents API for the drop visual providers for the Drag and Drop operations in RadListBox control.
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
System.
|
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
Rad
|
System.
|
System.
|
Returns
System.
|
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
Rad
|
System.
|
Returns
System.
|
GetLocation(RadListBoxItem, Panel, ItemDropPosition)
When overridden in derived class returns the location which is used for render transforming the drop visual depending on the Item
Declaration
Point GetLocation(RadListBoxItem container, Panel panel, ItemDropPosition dropPosition)
Parameters
Rad
|
System.
|
Item
|
Returns
System.
|
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
Rad
|
System.
|
System.
|
System.
|
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
Rad
|
System.
|
System.
|
System.
|