Share via


DragDropManager Klasse

Definition

Verwaltet den Drag-and-Drop-Vorgang zwischen Objekten.

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
Vererbung
Object Platform::Object IInspectable DragDropManager
Attribute
Implementiert

Eigenschaften

AreConcurrentOperationsEnabled

Ruft ab oder legt fest, ob mehrere DragDropManager Drag-and-Drop-Vorgänge gleichzeitig verarbeitet werden können.

Methoden

Close()

Gibt systemressourcen frei, die DragDropManagervon verwendet werden.

Dispose()

Führt anwendungsspezifische Aufgaben durch, die mit der Freigabe, der Zurückgabe oder dem Zurücksetzen von nicht verwalteten Ressourcen zusammenhängen.

GetForIsland(ContentIsland)

Ruft eine neue DragDropManager für die angegebene ContentIslandab.

Ereignisse

TargetRequested

Tritt auf, wenn ein Objekt als Ablageziel für registriert DragDropManagerwird.

Gilt für: