Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
520
Unable to raise event the pane is floatable
posted

Hi,

I have registered an event (Bubble | Tunnel) in a usercontrol and I set this usercontrol as a content to a content pane.
I handled that event where i added that pane as tabbed container.

It raises the event when the content pane is in tabbed position, When I make the pane floatable, the
RaiseEvent is not working.

Could anybody provide me a solution.

  • 54937
    Suggested Answer
    Offline posted

    When the elements are floating they are hosted in a separate WPF window and as such are not part of the visual/logical tree that contains the xamDockManager. You could probably hook your event on the PaneToolWindow (in the ToolWindowLoaded event) and then reraise this on the xamDockManager.