ComponentOne DockControl for WPF
C1.WPF.Docking Namespace / C1Window Class / CenterOnScreen Method

In This Topic
    CenterOnScreen Method (C1Window)
    In This Topic
    Centers the window in its container.
    Syntax
    'Declaration
     
    Public Sub CenterOnScreen() 
    public void CenterOnScreen()
    Remarks
    If the window is not yet loaded the positioning is delayed until it's loaded.
    See Also