Method SetWindowRgn SetWindowRgn(nint, Rectangle) Declaration public static bool SetWindowRgn(nint hwnd, Rectangle rect) Parameters Type Name Description nint hwnd Rectangle rect Returns Type Description bool