Skip to content

AvalonDock: Creating a floating window from a hidden item does not appear to be working properly #1145

Open
@xceedsoftware

Description

@xceedsoftware

theficus[CodePlex]
I'm trying to create a new floating window by wrapping something in Layout.Hidden but it's not working as expected.

I've tried using an approach like this:
LayoutAnchorableFloatingWindow f = new LayoutAnchorableFloatingWindow();
LayoutAnchorablePane ap = new LayoutAnchorablePane(item);
f.RootPanel = new LayoutAnchorablePaneGroup(ap);
dockingManager.Layout.FloatingWindows.Add(f);
But the window never appears. The window does show in the ctrl-tab list and it does get serialized out.

Only if I reserialize the layout does the floating window appear.

What needs to be done to get this to work properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions