Centers the window in its container.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public void CenterOnScreen()
Visual Basic
Public Sub CenterOnScreen

Remarks

If the window is not yet loaded the positioning is delayed until it's loaded.

See Also