Share via


DragDropModifiers Enum

Definition

Represents the key modifiers applied to a drag and drop operation. Zero or more modifiers can be included.

This enumeration supports a bitwise combination of its member values.

public enum class DragDropModifiers
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DragDropModifiers
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DragDropModifiers
Public Enum DragDropModifiers
Inheritance
DragDropModifiers
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

No modifiers.

Shift 1

The shift key.

Control 2

The control key.

Alt 4

The alt key.

LeftButton 8

The left mouse button.

MiddleButton 16

The middle mouse button.

RightButton 32

The right mouse button.

Applies to