Class DraggableAdorner
public class DraggableAdorner : AdornerBase, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IDraggableAdorner
- Inheritance
-
DraggableAdorner
- Implements
- Inherited Members
- Extension Methods
Constructors
DraggableAdorner(UIElement, Point)
public DraggableAdorner(UIElement adornedElement, Point offset)
Parameters
Properties
DropAdornerMode
public DraggableAdornerMode DropAdornerMode { get; set; }
Property Value
ListBoxItemAllowDropBothKey
public static ComponentResourceKey ListBoxItemAllowDropBothKey { get; }
Property Value
ListBoxItemAllowDropKey
public static ComponentResourceKey ListBoxItemAllowDropKey { get; }
Property Value
Offset
public Point Offset { get; set; }
Property Value
Methods
GetData()
public object GetData()
Returns
OnRender(DrawingContext)
When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.
protected override void OnRender(DrawingContext dc)
Parameters
UpdatePosition(Point)
public void UpdatePosition(Point location)
Parameters
location
Point