共用方式為


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
屬性
實作

屬性

名稱 Description
AreConcurrentOperationsEnabled

取得或設定 dragDropManager 是否可以同時處理多個拖放作業。

方法

名稱 Description
Close()

釋放 DragDropManager所使用的系統資源。

Dispose()

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

GetForIsland(ContentIsland)

擷取指定 ContentIsland的新 DragDropManager

事件

名稱 Description
TargetRequested

當物件註冊為 DragDropManager的置放目標時發生。

適用於