ClassLinearDropVisualProvider
Represents the provider for the LinearDropVisual control. This is the default drop visual provider for the drag and drop operations in RadListBox.
Definition
Namespace:Telerik.Windows.Controls.DragDrop
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class LinearDropVisualProvider : IDropVisualProvider
Inheritance: objectLinearDropVisualProvider
Implements:
Constructors
LinearDropVisualProvider()
Declaration
public LinearDropVisualProvider()
Methods
CreateDropVisual()
When overridden in a derived class allows customization of the drop visual.
Declaration
public virtual FrameworkElement CreateDropVisual()
Returns
FrameworkElement
Implements
GetDropCueHighlightMargin(RadListBoxItem, Panel, FrameworkElement)
When overridden in derived class returns the margin for the container when the dragged element moves above it.
Declaration
public virtual Thickness GetDropCueHighlightMargin(RadListBoxItem container, Panel panel, FrameworkElement dropVisual)
Parameters
container
panel
Panel
dropVisual
FrameworkElement
Returns
Thickness
Implements
GetLocation(RadListBoxItem, Panel)
When overridden in derived class returns the location which is used for render transforming the drop visual.
Declaration
public virtual Point GetLocation(RadListBoxItem container, Panel panel)
Parameters
container
panel
Panel
Returns
Point
Implements
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
public virtual Point GetLocation(RadListBoxItem container, Panel panel, ItemDropPosition dropPosition)
Parameters
container
panel
Panel
dropPosition
Returns
Point
Implements
VisualizeDropPlaceholderEnded(RadListBoxItem, Panel, object, FrameworkElement)
When overridden in derived class indicates that visualizing the drop cue operation is finished.
Declaration
public virtual void VisualizeDropPlaceholderEnded(RadListBoxItem container, Panel panel, object dataItem, FrameworkElement dropVisual)
Parameters
container
panel
Panel
dataItem
dropVisual
FrameworkElement
Implements
VisualizeDropPlaceholderStarted(RadListBoxItem, Panel, object, FrameworkElement)
When overridden in derived class indicates that visualizing the drop cue operation is started.
Declaration
public virtual void VisualizeDropPlaceholderStarted(RadListBoxItem container, Panel panel, object dataItem, FrameworkElement dropVisual)
Parameters
container
panel
Panel
dataItem
dropVisual
FrameworkElement
Implements