Home Forums WPF controls Other WPF controls Avalondock: Exception when calling Show()

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Masc
    Participant
    Post count: 2
    #45020 |

    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.

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Masc,

    Could you send us your test project by email?
    Please send it to support@xceed.com and include a link to this forum thread for reference.

    Thank you,
    Diane

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.