public static Size EnsureSizeMinBounds(Size size, Size min)
 {
     return(SplitPanelHelper.EnsureSizeBounds(size, min, SplitPanelHelper.MaxSize));
 }
 public static Size EnsureSizeMaxBounds(Size size, Size max)
 {
     return(SplitPanelHelper.EnsureSizeBounds(size, SplitPanelHelper.MinSize, max));
 }