public override void EnsureValid()
{
base.EnsureValid();
if(MaximumWidth < MinimumWidth)
throw new ArgumentException("Maximum width must not be less than minimum width");
if(MaximumHeight < MinimumHeight)
throw new ArgumentException("Maximum height must not be less than minimum height");
}