CoreDragInfo 类

定义

获取有关正在拖动的项的信息。

public ref class CoreDragInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CoreDragInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CoreDragInfo
Public NotInheritable Class CoreDragInfo
继承
Object Platform::Object IInspectable CoreDragInfo
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

版本历史记录

Windows 版本 SDK 版本 已添加值
1511 10586 AllowedOperations

属性

AllowedOperations

获取允许的 DataPackageOperations (无、移动、复制和/或链接) 拖放操作。

Data

获取要拖动的项的 DataPackageView

Modifiers

获取要拖动的项的修饰符。

Position

获取要拖动的项的位置。

适用于