2024-06-09 21:06:13 +02:00
|
|
|
|
|
|
|
using System;
|
|
|
|
|
2024-07-17 22:18:20 +02:00
|
|
|
namespace Dashboard.Controls
|
2024-06-09 21:06:13 +02:00
|
|
|
{
|
|
|
|
public enum Dock
|
|
|
|
{
|
|
|
|
None,
|
|
|
|
Top,
|
|
|
|
Left,
|
|
|
|
Bottom,
|
|
|
|
Right,
|
|
|
|
Center
|
|
|
|
}
|
|
|
|
|
|
|
|
[Flags]
|
|
|
|
public enum Anchor
|
|
|
|
{
|
|
|
|
None = 0,
|
|
|
|
Top = 1 << 0,
|
|
|
|
Left = 1 << 1,
|
|
|
|
Bottom = 1 << 2,
|
|
|
|
Right = 1 << 3,
|
|
|
|
All = Top | Left | Bottom | Right
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum Direction
|
|
|
|
{
|
|
|
|
Vertical,
|
|
|
|
Horizontal
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum TextAlignment
|
|
|
|
{
|
|
|
|
Left,
|
|
|
|
Center,
|
|
|
|
Right,
|
|
|
|
Justify,
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum VerticalAlignment
|
|
|
|
{
|
|
|
|
Top,
|
|
|
|
Center,
|
|
|
|
Bottom,
|
|
|
|
Justify,
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum HorizontalAlignment
|
|
|
|
{
|
|
|
|
Left,
|
|
|
|
Center,
|
|
|
|
Right,
|
|
|
|
Justify
|
|
|
|
}
|
|
|
|
}
|