mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-02 23:29:28 +03:00
Added SetVisibleContent to DarkDockGroup
This commit is contained in:
parent
bc527a31af
commit
b297bdd31c
@ -329,6 +329,18 @@ namespace DarkUI.Docking
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
public void SetVisibleContent(DarkDockContent content)
|
||||
{
|
||||
if (!_contents.Contains(content))
|
||||
return;
|
||||
|
||||
if (VisibleContent != content)
|
||||
{
|
||||
VisibleContent = content;
|
||||
Invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
private Point PointToTabArea(Point point)
|
||||
{
|
||||
return new Point(point.X - _tabArea.Offset, point.Y);
|
||||
|
Loading…
x
Reference in New Issue
Block a user