Quantcast
Channel: Docking/MDI for WPF - Recent Posts
Browsing all 3029 articles
Browse latest View live

Re: Resizing TabStrip for DocumentWindows in Docksite

Thanks for the answer. It works correctly for Top and Bottom positions. But as we have TabStripPlacement="Left" so it displays the tab header as a big rectangle. How to set the width for the Tab...

View Article


Re: Resizing TabStrip for DocumentWindows in Docksite

Which version are you running? I seem to remember a bug we fixed a while back, where the tab extents controlled tab height in Left position. But yesterday, I had tested the tab extents in our l...

View Article


Re: Resizing TabStrip for DocumentWindows in Docksite

We have v18.1.0671. So will update to the newest version and see.

View Article

ToolWindows is leaking viewmodel

I am using .NET Memory Profile and see the ToolWindow maintains a reference to the view model causing a memory leak. If I remove view model from the ObservableCollection that is assigned to the To...

View Article

Re: ToolWindows is leaking viewmodel

Hello, For scenarios like this, please either give us code/steps to reproduce the problem in one of our samples, or make a new simple sample project that shows it happening and send that to our s...

View Article


Transparent splitter while being dragged

Hello, The splitter becomes Transparent by default when it is being dragged, but this is not what we want. How to set the color of the splitter? We are using 20.1.1

View Article

Re: Transparent splitter while being dragged

Hello, If you set the DockSite.IsLiveSplittingEnabled property to false, then it will show a filled in splitter that you move around and the controls will readjust after you drop it. In this mod...

View Article

Re: Transparent splitter while being dragged

Hello, I do have IsLiveSplittingEnabled set to False since we are hosting WinForms controls inside the tool windows, but the splitter has Transparent color while dragging it. The default style ...

View Article


Re: Transparent splitter while being dragged

First, let me ask something since you mentioned WinForms. When you first press the mouse down on the splitter when DockSite.IsLiveSplittingEnabled is false, do you see a gray rectangle appear? ...

View Article


Re: Transparent splitter while being dragged

Not really, by tranparent color I mean that after mouse down the one part of the splitter moves with the mouse and the other stays where it was when mouse down was initially pressed. And that part ...

View Article

Re: Transparent splitter while being dragged

The splitters are normally transparent and show the DockSite background through them. Are you doing something like overriding their default Background to make the splitters always appear different...

View Article

Re: Transparent splitter while being dragged

Indeed. The background is set using such style:<Style TargetType="docking:SplitContainerSplitter"><Setter Property="Background" Value="XYZ"/></Style>

View Article

Re: Transparent splitter while being dragged

Thanks, I see now. The splitters weren't originally designed to render non-transparently when not in use. Ok we were able to improve the splitter to not translate itself when IsLiveSplittingEna...

View Article


Re: Transparent splitter while being dragged

Thank you for the update! Would that change/fix still allow to restyle the splitter after I get rid of the interop controls in the tool windows, and switch UseHostedPopups into True?

View Article

Re: Transparent splitter while being dragged

Hello, There are basically three modes: IsLiveSplittingEnabled=True - The splitter background you set will always be visible, even while dragging. IsLiveSplittingEnabled=False, UseHostedPop...

View Article


Content is only loaded when window is visible

I have multiple document and tool windows and all have the new WebView2 control as content. When I start the app I create these windows in background (there is a grid on top of the docksite hiding ...

View Article

Re: Content is only loaded when window is visible

Hi Dirk, The docking window containers have docking:AdvancedTabControl instances in them that work the same way as native WPF TabControl, where only the selected tab's content is visible in a Con...

View Article


Re: Content is only loaded when window is visible

Loading time is not a problem since we have a loading indicator anyway. I've added UpdateLayout() on all of them, which causes a delay of a second only and it seems to fix the problem.

View Article

Document windows side-by-side

Hello, I have a docksite but want the documents to be displayed not as they would be in tabcontrol, what is the result in the following code:<docking:DockSite x:Name="dockSite" CanDocumentWi...

View Article

Re: Document windows side-by-side

I also tried this: private void DockSiteP_OnLoaded(object sender, RoutedEventArgs e) { first.Dock(dockSite, Side.Left); } but got exception: Name Value Type ◢ $exception...

View Article
Browsing all 3029 articles
Browse latest View live


Latest Images