此主题尚未评级 - 评价此主题

DraggingEventArgs Class

包含 Dragging 事件的事件数据。

语法


public ref class DraggingEventArgs sealed : Object

特性

MarshalingBehaviorAttribute(None)
VersionAttribute(NTDDI_WIN8)

成员

DraggingEventArgs类 具有以下类型的成员:

方法

The DraggingEventArgs 类 继承以下内容中的方法 Object 类 (C#/VB/C++).

属性

DraggingEventArgs类 具有以下属性。

属性访问类型描述

DraggingState

只读Gets the state of the Dragging event.

PointerDeviceType

只读Gets the device type of the input source.

Position

只读Gets the location of the mouse or pen/stylus contact.

 

备注

JavaScript:Dragging 事件处理程序中访问此对象。

注意  :此类不敏捷,这意味着您需要考虑其线程模型和封送行为。有关更多信息,请参见线程处理和封送处理 (C++/CX)在多线程环境中使用 Windows 运行时对象 (.NET)

Windows Phone 8

此 API 不实现,并且在调用时会引发异常。

要求

最低受支持的客户端

Windows 8 [仅 Windows 应用商店应用]

最低受支持的服务器

Windows Server 2012 [仅 Windows 应用商店应用]

最低受支持的电话

Windows Phone 8

命名空间

Windows.UI.Input
Windows::UI::Input [C++]

元数据

Windows.winmd

另请参阅

Windows.UI.Input 类
TypedEventHandler

 

 

本文是否对您有所帮助?
(1500 个剩余字符)
© 2013 Microsoft. 版权所有。