Table of Contents

Method CenterOnParent

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

CenterOnParent(GenericOrientation)

Centers the window.

void CenterOnParent(GenericOrientation direction)

Parameters

direction GenericOrientation

Specifies the direction for the centering.

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.