mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-03 07:39:28 +03:00
39 lines
892 B
C#
39 lines
892 B
C#
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
|
|
namespace DarkUI.Docking
|
|
{
|
|
public class DockPanelState
|
|
{
|
|
#region Property Region
|
|
|
|
public List<string> OpenContent { get; set; }
|
|
|
|
public Size LeftRegionSize { get; set; }
|
|
|
|
public Size RightRegionSize { get; set; }
|
|
|
|
public Size BottomRegionSize { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Constructor Region
|
|
|
|
public DockPanelState()
|
|
{
|
|
OpenContent = new List<string>();
|
|
}
|
|
|
|
public DockPanelState(List<string> openContent, Size leftRegionSize, Size rightRegionSize, Size bottomRegionSize)
|
|
: this()
|
|
{
|
|
OpenContent = openContent;
|
|
LeftRegionSize = leftRegionSize;
|
|
RightRegionSize = rightRegionSize;
|
|
BottomRegionSize = bottomRegionSize;
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|