Color legend plain property dependency property method
The image that follows the mouse during a drag and drop. It is an Image, so it shows its own Source at its own size, unless UseTargetAppearance makes it a picture of the dragged element. Set it on the element that is dragged (the DragTarget) through DragAndDropRepresentation; Transparency makes it see-through.
DragAndDropRepresentation derives from Image and has its members too. The images page shows it in context, with code and screenshots.
Names are colored by what they are: a plain property, a method, an event or a dependency property, which a style, a binding or an animation can set.
Properties
UseTargetAppearance 🠆
bool · Whether each drag takes a picture of the dragged element, at the start of the drag, and shows it at the element’s size instead of Source. The representation owns that picture and disposes it. The picture is drawn into a render target of its own, after which the render targets set before are set back.
Methods
DragAndDropRepresentation() 🠆
DragAndDropRepresentation(string name = null) · Creates a representation that doesn’t take the mouse, aligned to the top left.
| Parameter | Type | Description |
|---|---|---|
name |
string |
The element’s Name, which GetElementByName finds it by. Default: null. |