Table of Contents

Class DraggableAdorner

Namespace
H.Controls.Adorner.Draggable
Assembly
H.Controls.Adorner.dll
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

adornedElement UIElement
offset Point

Properties

DropAdornerMode

public DraggableAdornerMode DropAdornerMode { get; set; }

Property Value

DraggableAdornerMode

ListBoxItemAllowDropBothKey

public static ComponentResourceKey ListBoxItemAllowDropBothKey { get; }

Property Value

ComponentResourceKey

ListBoxItemAllowDropKey

public static ComponentResourceKey ListBoxItemAllowDropKey { get; }

Property Value

ComponentResourceKey

Offset

public Point Offset { get; set; }

Property Value

Point

Methods

GetData()

public object GetData()

Returns

object

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

dc DrawingContext

UpdatePosition(Point)

public void UpdatePosition(Point location)

Parameters

location Point