WindowPanel.GetDefaultLocation Method

DevZest WPF Docking

WindowPanelGetDefaultLocation Method
Gets the default location for specified WindowControl.

Namespace: DevZest.Windows
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
protected virtual Point GetDefaultLocation(
	Size availableSize,
	WindowControl window
)
Protected Overridable Function GetDefaultLocation ( 
	availableSize As Size,
	window As WindowControl
) As Point

Parameters

availableSize
Type: System.WindowsSize
The size of the WindowControl container.
window
Type: DevZest.WindowsWindowControl
The specified WindowControl.

Return Value

Type: Point
The default location.
Remarks
The default implementation returns a random location.
See Also