Skip to content

LayoutAnchorablePane

Dirkster99 edited this page Dec 12, 2019 · 9 revisions
Model Control
LayoutAnchorablePane LayoutAnchorablePaneControl

A LayoutAnchorablePane represents a layout element that contains a collection of one ore more LayoutAnchorable objects. This collection of LayoutAnchorable objects can be thought of as a stack of in Z since they are displayed like TabItems from a TabControl.

The resulting layout does not have to look like this but it usually results in the arrangement as shown for the tool windows at the bottom of this screenshot (all Anchoreables shown are stored in one LayoutAnchorablePane):

One or more LayoutAnchorablePanes can be contained in a LayoutAnchorablePaneGroup.

Properties

Property Description
CanClose Gets whether the pane can be closed.
CanHide Gets whether the pane can be hidden.
Children Gets the child elements. (Inherited from AvalonDock.Layout.LayoutGroup)
ChildrenCount Gets the number of child elements. AvalonDock.Layout.LayoutGroup)
DockHeight Gets or sets the initial height of the dock. AvalonDock.Layout.LayoutGroup)
DockMinHeight Gets or sets the minimum dock height. AvalonDock.Layout.LayoutGroup)
DockMinWidth Gets or sets the minimum dock width. AvalonDock.Layout.LayoutGroup)
DockWidth Gets or sets the initial width of the dock. AvalonDock.Layout.LayoutGroup)
FloatingHeight Gets or sets the initial height of floating windows. AvalonDock.Layout.LayoutGroup)
FloatingLeft Gets the initial position of the left side of a floating window. AvalonDock.Layout.LayoutGroup)
FloatingTop Gets the initial position of the topside of a floating window. AvalonDock.Layout.LayoutGroup)
FloatingWidth Gets or sets the initial width of floating windows. AvalonDock.Layout.LayoutGroup)
IsDirectlyHostedInFloatingWindow Gets whether the pane is hosted directly in a floating window (not in a LayoutAnchorablePaneGroup).
IsHostedInFloatingWindow Gets whether the pane is hosted in a floating window.
IsMaximized Gets whether the element is maximized. AvalonDock.Layout.LayoutGroup)
IsVisible Gets whether the layout group is visible. (Inherited from AvalonDock.Layout.LayoutGroup)
Name Gets the name of the pane.
Parent Gets or sets the parent container of the element. (Inherited from AvalonDock.Layout.LayoutElement)
Root Gets or sets the root of the element. (Inherited from AvalonDock.Layout.LayoutElement)
SelectedContent Gets the selected content in the pane.
SelectedContentIndex Gets or sets the index of the selected content in the pane.

Events

Event Description
ChildrenCollectionChanged Raised when the child collection changes. (Inherited from AvalonDock.Layout.LayoutGroupBase)
ChildrenTreeChanged Raised when the children tree changes. (Inherited from AvalonDock.Layout.LayoutGroupBase)
PropertyChanged Raised when a property has changed. (Inherited from AvalonDock.Layout.LayoutElement)
PropertyChanging Raised when a property is about to change. (Inherited from AvalonDock.Layout.LayoutElement)

Methods

Method Description
ComputeVisibility Determines whether an element is visible. (Inherited from AvalonDock.Layout.LayoutGroup)
GetSchema Returns null. (Inherited from AvalonDock.Layout.LayoutGroup)
IndexOf Gets the index of the specified child content.
IndexOfChild Returns the index of the specified child layout element. (Inherited from AvalonDock.Layout.LayoutGroup)
InsertChildAt Inserts the specified child layout element at the specified index. (Inherited from AvalonDock.Layout.LayoutGroup)
MoveChild Moves a child from an old index to a new index within a pane (Inherited from AvalonDock.Layout.LayoutGroup)
ReadXml Overridden. Reads serialized layout information using the specified XmlReader.
RemoveChild Removes the specified child ILayoutElement. (Inherited from AvalonDock.Layout.LayoutGroup)
RemoveChildAt Removes the child element at the specified index. (Inherited from AvalonDock.Layout.LayoutGroup)
ReplaceChild Replaces a child ILayoutElement with a new one. (Inherited from AvalonDock.Layout.LayoutGroup)
ReplaceChildAt Replaces the child element at the specified index with the specified element. (Inherited from AvalonDock.Layout.LayoutGroup)
WriteXml Overridden. Writes serialized layout information using the specified XmlWriter.

Demo Projects

Controls

Layout Models

Interfaces

Class Designs

Bugs

Manual Tests

Clone this wiki locally