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
'宣言
Public Property KeyStates As DragDropKeyStates
Get
Private Set
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.