DragDropInfo.KeyStates 属性

获取操作过程中的键盘状态。

命名空间:  Microsoft.VisualStudio.Text.Editor.DragDrop
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
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)

属性值

类型:DragDropKeyStates
操作过程中的键盘状态。

备注

可以查询此字段以检查是否按下了特定键。

.NET Framework 安全性

请参阅

参考

DragDropInfo 类

Microsoft.VisualStudio.Text.Editor.DragDrop 命名空间