Share via


DragDropModifiers 枚举

定义

指定可应用于拖放操作 (键和鼠标按钮) 支持的修饰符。

此枚举支持其成员值的按位组合。

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
继承
DragDropModifiers
属性

字段

Alt 4

Alt 键。

Control 2

Ctrl 键。

LeftButton 8

鼠标左按钮。

MiddleButton 16

鼠标中键。

None 0

无修饰符。

RightButton 32

鼠标右按钮。

Shift 1

Shift 键。

适用于

另请参阅