DragDropKeyStates Enumeration
.NET Framework 3.0
Specifies the current state of the modifier keys (SHIFT, CTRL, and ALT), as well as the state of the mouse buttons.
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.WindowsAssembly: PresentationCore (in presentationcore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
| Member name | Description | |
|---|---|---|
| AltKey | The ALT key is pressed. | |
| ControlKey | The control (CTRL) key is pressed. | |
| LeftMouseButton | The left mouse button is pressed. | |
| MiddleMouseButton | The middle mouse button is pressed. | |
| None | No modifier keys or mouse buttons are pressed. | |
| RightMouseButton | The right mouse button is pressed. | |
| ShiftKey | The shift (SHIFT) key is pressed. |
No distinction is made between the left or right SHIFT, ALT, and CTRL keys.
This enumeration is used by the DragEventArgs and QueryContinueDragEventArgs classes.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: