'C# WinForms SplitContainer Panel Toolbar

WinForms .NET 6.03 (C#)

In a Form that has a traditional menu and toolbar docked across the top...

I have a split container (vertical splitter) in the left panel I have a toolbar docked to the top and a user control filling Panel1 below the panel's toolbar.

When I resize the panel, the toolbar disappears and the user control shifts up in the panel.

This was not a problem in .NET 4.6. I'm only seeing it now that I'm building in .NET 6.03

Is there a fix?

enter image description here



Solution 1:[1]

It turned out that this was a z-order problem. Somehow during execution, the toolstrip was losing it's topmost condition regarding docking.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mark Malburg