Skip to content

DropTarget T

Dirkster99 edited this page Dec 12, 2019 · 12 revisions

The abstract DropTarget<T> base class is implemented by:

  • AnchorablePaneDropTarget
  • DockingManagerDropTarget
  • DocumentPaneDropAsAnchorableTarget
  • DocumentPaneDropTarget
  • DockingPaneGroupDropTarget

Properties

Type

DropTargetType Type { get; }

Methods

GetPreviewPath

Geometry GetPreviewPath( OverlayWindow overlayWindow, LayoutFloatingWindow floatingWindow );

HitTest

bool HitTest( Point dragPoint );`

Drop

void Drop( LayoutFloatingWindow floatingWindow );`

Is invoked via DragService when a dragged floatingWindow (LayoutDocumentFloatingWindow or LayoutAnchorableFloatingWindow) is dropped into a docking position on another element.

The method invokes either overrideable Drop method of this abstract class (eg: AnchorablePaneDropTarget.Drop()):

and updates the IsSelected and IsActive properties of floatingWindow.Root.ActiveContent.

DragEnter

void DragEnter();`

DragLeave

void DragLeave();`

Demo Projects

Controls

Layout Models

Interfaces

Class Designs

Bugs

Manual Tests

Clone this wiki locally