DragVisualKind enumeration

[This documentation is preliminary and is subject to change.]

Defines constants that specify what kind of visual represents the data being dragged in a drag-and-drop operation.

Syntax

public enum DragVisualKind
Public Enum DragVisualKind
public enum class DragVisualKind

Attributes

[Version(0x06020000)]

[WebHostHidden()]

Members

The DragVisualKind enumeration has these members.

Member Value Description
Automatic 0

A custom visual is used if specified in the event args DragVisual property. Otherwise, the dragged UIElement is used.

DraggedUIElement 1

The UIElement being dragged is used to represent the dragged data.

CustomDragVisual 2

The visual specified in the event args DragVisual property is used to represent the dragged data.

DataFormat 3

The system provided visual that represents the format of the content being dragged is used to represent the dragged data.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml Windows::UI::Xaml [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd