private void AlignHorizontal()
{
switch (Horizontal)
{
case HorizontalAlign.Left: AlignChildren(Css.Left, 0); break;
case HorizontalAlign.Center: AlignChildren(Css.Left, (Container.GetWidth() / 2) - (WidestChild / 2)); break;
case HorizontalAlign.Right: AlignChildren(Css.Right, 0); break;
default: throw new Exception("Not supported: " + Horizontal.ToString());
}
}