Interface ILayoutRoot
Interface can be used to query and manipulate the child layout elements directly under the layout root. This interface is implemented by the LayoutRoot class.
It represents the root of the layout model (see Layout property in the <xref href="HeBianGu.Control.Dock.DockingManager" data-throw-if-not-resolved="false"></xref>).
public interface ILayoutRoot
- Extension Methods
Properties
ActiveContent
Gets the currently active LayoutContent.
LayoutContent ActiveContent { get; set; }
Property Value
BottomSide
Gets the bottom side LayoutAnchorSide where a layout Anchorable can be/or has been anchored in this layout root.
LayoutAnchorSide BottomSide { get; }
Property Value
FloatingWindows
Gets a collection of LayoutFloatingWindow items that are currently displayed as floating document or floating layout Anchoreable.
ObservableCollection<LayoutFloatingWindow> FloatingWindows { get; }
Property Value
Hidden
Gets a collection of LayoutAnchorable items that are currently not displayed.
ObservableCollection<LayoutAnchorable> Hidden { get; }
Property Value
LeftSide
Gets the left side LayoutAnchorSide where a layout Anchorable can be/or has been anchored in this layout root.
LayoutAnchorSide LeftSide { get; }
Property Value
Manager
Gets the DockingManager (visual root) of the docking system.
DockingManager Manager { get; }
Property Value
RightSide
Gets the right side LayoutAnchorSide where a layout Anchorable can be/or has been anchored in this layout root.
LayoutAnchorSide RightSide { get; }
Property Value
RootPanel
Gets the LayoutPanel that acts as a root of this layout root.
LayoutPanel RootPanel { get; }
Property Value
TopSide
Gets the top side LayoutAnchorSide where a layout Anchorable can be/or has been anchored in this layout root.
LayoutAnchorSide TopSide { get; }
Property Value
Methods
CollectGarbage()
This method can be used to traverse the tree of layout objects and remove empty unused elements, such as, LayoutAnchorablePanes without child elements.
void CollectGarbage()