Skip to content

LayoutFloatingWindowControl

Dirkster99 edited this page Jul 7, 2020 · 13 revisions
Model Control
LayoutFloatingWindow LayoutFloatingWindowControl

The LayoutFloatingWindowControl class is an abstraction layer for floating:

  1. Documents (LayoutDocumentFloatingWindowControl) and
  2. Tool Windows (LayoutAnchorableFloatingWindowControl)

in AvalonDock. That is, both UI elements, documents and tool windows, share the LayoutFloatingWindowControl class as an abstract base and implement its properties and methods.

The related class DragService implements the drag & drop behavior when a control inheriting from LayoutFloatingWindowControl is dragged around by the user.

Properties

Name Description
ContentMinHeight The MinHeight of the content of the window, will be 0 until the window has been rendered, or if the MinHeight is unset for the content.
ContentMinWidth The MinWidth of the content of the window, will be 0 until the window has been rendered, or if the MinWidth is unset for the content.
TotalMargin The total margin (including window chrome and title bar). The margin is queried from the visual tree the first time it is rendered, zero until the first call of FilterMessage(WM_ACTIVATE).
DockingManager.AutoWindowSizeWhenOpened See DockingManager.AutoWindowSizeWhenOpened dependency property

Demo Projects

Controls

Layout Models

Interfaces

Class Designs

Bugs

Manual Tests

Clone this wiki locally