Method CenterOnParent
CenterOnParent(GenericOrientation)
Centers the window.
public override bool CenterOnParent(GenericOrientation direction = GenericOrientation.Both)
Parameters
direction
GenericOrientationSpecifies the direction for the centering.
Returns
Remarks
If the window is a top level one (i.e. doesn't have a parent), it will be centered relative to the screen anyhow.