public void BuildBars(Rectangle childArea)
        {
            Vertical.Both = Horizontal.Both = false;

            if (childArea.Width > Area.Width && childArea.Height > Area.Height)
            {
                BarDirection  = Direction.Both;
                Vertical.Both = Horizontal.Both = true;
            }
            else if (childArea.Width > Area.Width)
            {
                BarDirection = Direction.Horizontal;
            }
            else if (childArea.Height > Area.Height)
            {
                BarDirection = Direction.Vertical;
            }

            if (BarDirection == Direction.Horizontal || BarDirection == Direction.Both)
            {
                Horizontal.CalculateRatio(childArea);
            }
            if (BarDirection == Direction.Vertical || BarDirection == Direction.Both)
            {
                Vertical.CalculateRatio(childArea);
            }

            IsBuilt = true;
        }