public static Point GetCenterPoint(this HRegion region) { var x = region.GetColumn(); var y = region.GetRow(); return(new Point(x, y)); }