Method GetDefaultLocation
| Improve this Doc View SourceGetDefaultLocation(Size, WindowControl)
Gets the default location for specified WindowControl.
Declaration
protected virtual Point GetDefaultLocation(Size availableSize, WindowControl window)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | availableSize | The size of the WindowControl container. |
| WindowControl | window | The specified WindowControl. |
Returns
| Type | Description |
|---|---|
| System.Windows.Point | The default location. |
Remarks
The default implementation returns a random location.