Share via


DragDropInfo.KeyStates Property

Gets the state of the keyboard during the operation.

Namespace:  Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Property KeyStates As DragDropKeyStates
public DragDropKeyStates KeyStates { get; private set; }
public:
property DragDropKeyStates KeyStates {
    DragDropKeyStates get ();
    private: void set (DragDropKeyStates value);
}
member KeyStates : DragDropKeyStates with get, private set
function get KeyStates () : DragDropKeyStates
private function set KeyStates (value : DragDropKeyStates)

Property Value

Type: System.Windows.DragDropKeyStates
The state of the keyboard during the operation.

Remarks

This field can be queried to check whether certain keys have been pressed.

.NET Framework Security

See Also

Reference

DragDropInfo Class

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace