Open gnimor opened 5 years ago
Hi, Can you attach a complete sample so we can test the same application as you ? Thank you
Hi, as a sample you can use the contained LiveExplorer. When you undock a window from the AvalonDock sample you can see that the content doesn't fill the complete window. The content only stretches vertical.
Hi, This is already fixed in v3.7 and up.
Until you get it, you can go in file a) Xceed.Wpf.AvalonDock/Controls/LayoutDocumentPaneGroupControl.cs b) Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneGroupControl.cs and uncomment the content of methods "OnFixChildrenDockLengths()". Thank you.
You can have the latest v3.8 version of Xceed Toolkit for free for 45 days here : https://xceed.com/xceed-toolkit-plus-for-wpf/. It will offer you more features and controls, fast support and always the latest version.
I am using the AvalonDock component for my application. I have defined the views for my view models in xaml like this via data templates:
The views show up as expected and the views are currently implemented as WPF user controls. The user controls are resizable and the content will resize accordingly. This works fine when the view is docked in the application. When I undock a view so that it becomes a floating window, the content (e.g. my user control) does not resize with the window. Is there a special setting which I have to apply in order to resize the content as well?