AvalonDock uploads content during docking

It seems that AvalonDock unloads and reloads the contents of its document windows at any time when the window is processed by docking or undocking. Is it possible to disable this?

In my case, I am showing the video stream in real time, and I need to keep it in the game while the window is set to float or redirected.

It also seems that the documentation for AvalonDock 2.0 is not complete. Maybe I was looking for the wrong place. All I found on Codeplex is: AvalonDock 2.0 Getting Started Guide PART 1

+4
source share
1 answer

I recently had a similar problem. When the map was displayed on the panel to be attached, markers were deleted when the panel was docked / undocked. I wrote on the AvalonDock page and on the map developer website (GMaps). The problem is that the component (bindings or documents in tab controls) destroys all child elements. You can see it here: Problem Tracking

My solution was to handle the layout change (detect when the window is docked, float like a window ... etc.) and act afterwards.

Documentation for AvalonDock 2.0 is not available ... The only documentation I recommend is samples provided by developers (see MVVM sample here ). Fortunately, the project should be more active now because it has become part of the Extended WPF Toolkit . Perhaps Xceed can take care of the proper documentation.

Hope this helps.

+4
source

Source: https://habr.com/ru/post/1484385/


All Articles