Share via


DragDropModifiers Enum

Definition

Specifies the supported modifiers (key and mouse button) that can be applied to a drag and drop operation.

This enumeration supports a bitwise combination of its member values.

public enum class DragDropModifiers
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
enum class DragDropModifiers
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
public enum DragDropModifiers
var value = Microsoft.UI.Input.DragDrop.DragDropModifiers.none
Public Enum DragDropModifiers
Inheritance
DragDropModifiers
Attributes

Fields

Name Value Description
None 0

No modifiers.

Shift 1

The Shift key.

Control 2

The Ctrl 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

See also