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.Windows.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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
System.Windows.FrameworkElement
dropVisual
|
Returns
System.Windows.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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
Returns
System.Windows.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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
ItemDropPosition
dropPosition
|
Returns
System.Windows.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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
System.Object
dataItem
|
System.Windows.FrameworkElement
dropVisual
|
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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
System.Object
dataItem
|
System.Windows.FrameworkElement
dropVisual
|