public Size FromPercentage(Rectangle bounds) { return(new Size( Width.FromPercentage(bounds.X, bounds.Width), Height.FromPercentage(bounds.Y, bounds.Height))); }