DraggingEventArgs 類別

定義

包含 拖曳 事件的事件數據。

public ref class DraggingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
class DraggingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
public sealed class DraggingEventArgs
Public NotInheritable Class DraggingEventArgs
繼承
Object Platform::Object IInspectable DraggingEventArgs
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

Javascript: 此物件是在 拖曳 事件處理程式中存取。

注意

這個類別不是敏捷式的,這表示您需要考慮其線程模型和封送處理行為。 如需詳細資訊,請參閱線程處理和封送處理 (C++/CX) 在多線程環境中使用 Windows 執行階段 物件 (.NET)

版本歷程記錄

Windows 版本 SDK 版本 已新增值
2004 19041 ContactCount

屬性

ContactCount

取得在辨識 曳事件時連絡點的數目。

DraggingState

取得 拖曳 事件的狀態。

PointerDeviceType

取得輸入來源的裝置類型。

Position

取得滑鼠或手寫筆/手寫筆聯繫人的位置。

適用於

另請參閱