SharedWindowPositionRelativeToWorkingArea(Object, Rectangle, ContentAlignment) Method

Positions the window relative to an element.

Definition

Namespace: Aliquo.Windows
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public static void PositionRelativeToWorkingArea(
	Object window,
	Rectangle workingArea,
	ContentAlignment align = ContentAlignment.MiddleCenter
)

Parameters

window  Object
Object with the window.
workingArea  Rectangle
Rectangle with the working area.
align  ContentAlignment  (Optional)
ContentAlignment with the content alignment.

See Also