mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-02 07:09:27 +03:00
Additional group content now hidden when added
This commit is contained in:
parent
2aeffecd0a
commit
f068c2f311
@ -72,6 +72,8 @@ namespace DarkUI.Docking
|
||||
|
||||
if (VisibleContent == null)
|
||||
VisibleContent = dockContent;
|
||||
else
|
||||
dockContent.Visible = false;
|
||||
|
||||
var menuItem = new ToolStripMenuItem(dockContent.DockText);
|
||||
menuItem.Tag = dockContent;
|
||||
|
@ -32,6 +32,7 @@ namespace DarkUI.Docking
|
||||
get { return _activeContent; }
|
||||
internal set
|
||||
{
|
||||
// Don't let content visibility changes re-trigger event
|
||||
if (_switchingContent)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user