WindowControl.EnsureVisibleLocation Method

DevZest WPF Docking

WindowControlEnsureVisibleLocation Method
Gets the adjusted location to ensure the window is visible in its container.

Namespace: DevZest.Windows
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
protected virtual Point EnsureVisibleLocation(
	Size containerSize,
	Rect windowBounds
)
Protected Overridable Function EnsureVisibleLocation ( 
	containerSize As Size,
	windowBounds As Rect
) As Point

Parameters

containerSize
Type: System.WindowsSize
The size of its container.
windowBounds
Type: System.WindowsRect
The window bounds.

Return Value

Type: Point
The adjusted location.
See Also