Centers the window in its container.
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.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.