ICoreDropOperationTarget 接口

定义

包含支持拖放所需的方法。

public interface class ICoreDropOperationTarget
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3641860502, 19547, 16765, 187, 55, 118, 56, 29, 239, 141, 180)]
struct ICoreDropOperationTarget
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3641860502, 19547, 16765, 187, 55, 118, 56, 29, 239, 141, 180)]
public interface ICoreDropOperationTarget
Public Interface ICoreDropOperationTarget
属性

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 中引入)

方法

DropAsync(CoreDragInfo)

在拖放拖动的项时调用。

EnterAsync(CoreDragInfo, CoreDragUIOverride)

当拖动的项进入放置区域时调用。

LeaveAsync(CoreDragInfo)

当拖动的项离开目标放置区域时调用。

OverAsync(CoreDragInfo, CoreDragUIOverride)

当拖动的项位于放置区域上方时调用。

适用于