Share via


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)

检索 DragDropManager 指定 ContentIsland的新 。

事件

TargetRequested

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

适用于