Method GetPositionAtTheCenter
GetPositionAtTheCenter(Rect, Size)
Declaration
public static Point GetPositionAtTheCenter(Rect monitorBounds, Size windowSize)
Parameters
Type | Name | Description |
---|---|---|
Rect | monitorBounds | |
Size | windowSize |
Returns
Type | Description |
---|---|
Point |
GetPositionAtTheCenter(Window)
Declaration
public static Point GetPositionAtTheCenter(Window window)
Parameters
Type | Name | Description |
---|---|---|
Window | window |
Returns
Type | Description |
---|---|
Point |