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
915
Floating Window Size Changed event
posted

I am trying to get the size changed event for a floating only window and I guess I am not using the right events or this is a bug.

I have tried to wire up the SplitPane, ContentPane and even the actual content (in this case a web browser control) using the SizeChanged events but when I resize the floating windows none of the SizeChanged events get fired.

Am I doing something wrong or is this an issue with the control?

Thanks

Parents
  • 54937
    Offline posted

    SizeChanged is a direct routed event fired by the WPF framework for FrameworkElement when the RenderSize is changed. So as long as you hook that event directly on the element (ContentPane, HwndHost, PaneToolWindow) then it will get invokved when that property is changed which will (and in my test did) occur after the window was resized. Can you post a small sample that shows the problem?

Reply Children