SetVisibleContent now properly hides/shows content.

This commit is contained in:
Robin 2015-12-16 15:56:09 +00:00
parent b297bdd31c
commit fd54b0245e

View File

@ -337,6 +337,14 @@ namespace DarkUI.Docking
if (VisibleContent != content)
{
VisibleContent = content;
content.Visible = true;
foreach (var otherContent in _contents)
{
if (otherContent != content)
otherContent.Visible = false;
}
Invalidate();
}
}