Basic Library for WPF and Silverlight | ComponentOne
C1.WPF 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