语言

DragDropManager 类

定义

管理对象之间的拖放操作。

public ref class DragDropManager sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DragDropManager final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DragDropManager : System.IDisposable
Public NotInheritable Class DragDropManager
Implements IDisposable
继承
Object Platform::Object IInspectable DragDropManager
属性
实现

属性

名称 说明
AreConcurrentOperationsEnabled

获取或设置 DragDropManager 是否可以同时处理多个拖放操作。

方法

名称 说明
Close()

释放 DragDropManager 使用的系统资源。

Dispose()

执行与释放、释放或重置非托管资源关联的应用程序定义任务。

GetForIsland(ContentIsland)

检索指定 ContentIsland 的新 DragDropManager。

事件

名称 说明
TargetRequested

当对象注册为 DragDropManager 的放置目标时发生。

适用于