Skip to content

OverlayWindow

Dirkster99 edited this page Apr 14, 2020 · 37 revisions

The OverlayWindow class implements IOverlayWindow and is used to visualize floating docking buttons in AvalonDock.

The Screenshots on this page show the docking buttons in various scenarios in AvalonDock.

Visual Tree of OverlayWindow

Source Images

The definition of the OverlayWindow control includes the bitmap images listed further below for the Generic theme.

Document Dock Button Visual

ToolWindow Dock Button Visual ToolWindow Dock Button Visual

Project Source folder: source/Components/AvalonDock/Themes/Generic/Images/

Floating Docking Button Name Image
DockPane.PNG DockPane.PNG
DockPaneEmpty.png DockPaneEmpty.png
DockBottom.PNG DockBottom.PNG
DockLeft.PNG DockLeft.PNG
DockRight.PNG DockRight.PNG
DockTop.PNG DockTop.PNG
InnerDockDocPaneBottom.png InnerDockDocPaneBottom.png
InnerDockDocPaneLeft.png InnerDockDocPaneLeft.png
InnerDockDocPaneRight.png InnerDockDocPaneRight.png
InnerDockDocPaneTop.png InnerDockDocPaneTop.png
InnerDockPaneBottom.png InnerDockPaneBottom.png
InnerDockPaneInside.png InnerDockPaneInside.png
InnerDockPaneLeft.png InnerDockPaneLeft.png
InnerDockPaneRight.png InnerDockPaneRight.png
InnerDockPaneTop.png InnerDockPaneTop.png

Visual Parts

Is the drop target rectangle that is displayed before a document or tool window is dropped into a drop target location.

DockDocument.png

DockToolWindow.png

Outmost outter 4 overlay buttons that are displayed at border of MainWindow when user drags tool window over another tool window or document and the AvalonDock air space contains additional document(s) and tool windows (s). See also DockingManagerDropTarget control.

PART_DockingManagerDropTargets

PART_DockingManagerDropTargets

Is displayed as center cross with a max of 5 buttons when a toolwindow is dragged over another tool window. See also AnchorablePaneDropTarget control.

PART_AnchorablePaneDropTargets

Is displayed as center cross (see red buttons in screenshot) when documents are dragged over the document container. See also DocumentPaneDropTarget.

PART_DocumentPaneDropTargets

Is displayed as center cross (see red buttons in screenshot) when ToolWindows are dragged over the document container.

PART_DocumentPaneFullDropTargets

Methods

Public Methods

DragDrop

The DragDrop method is invoked by the DragService of a LayoutFloatingWindowControl, if a drag & drop operation is completed to display the LayoutFloatingWindowControl in a new docking position.

void IOverlayWindow.DragDrop( IDropTarget target )

Demo Projects

Controls

Layout Models

Interfaces

Class Designs

Bugs

Manual Tests

Clone this wiki locally