Hello,
I’ve got a little WPF-Application in which i use a Frame to navigate between Pages.
In one of these Pages, I have an AnchorablePane with 2 LayoutAnchorables, if I undock(float) one of these LayoutAnchorables and hide it(by clicking x), then navigate to another Page, switch back and immediatly try to Show() the hiddeng LayoutAnchorable, it throws an InvalidOperationException:
Cannot set Visibility or call Show, ShowDialog, or WindowInteropHelper.EnsureHandle after a Window has closed.
I could reproduce this in a small Test-Application and if i wait a little after switching Pages, before calling Show(), it doesnt crash.
Thank you in advance.