Class LinearDropVisualProvider
Represents the provider for the LinearDropVisual control. This is the default drop visual provider for the drag and drop operations in RadListBox.
Inheritance
Namespace: Telerik.Windows.Controls.DragDrop
Assembly: Telerik.Windows.Controls.dll
Syntax
public class LinearDropVisualProvider : Object, IDropVisualProvider
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
System.Windows.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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
System.Windows.FrameworkElement
dropVisual
|
Returns
System.Windows.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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
Returns
System.Windows.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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
ItemDropPosition
dropPosition
|
Returns
System.Windows.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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
System.Object
dataItem
|
System.Windows.FrameworkElement
dropVisual
|
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
RadListBoxItem
container
|
System.Windows.Controls.Panel
panel
|
System.Object
dataItem
|
System.Windows.FrameworkElement
dropVisual
|