xtd 0.2.0
Loading...
Searching...
No Matches

◆ center_to_screen()

void xtd::forms::form::center_to_screen ( )

Centers the position of the form within the bounds of the parent form.

Remarks
Do not call the center_to_screen method directly from your code. Instead, set the start_position property to center_parent.
If the form or dialog is top-level, then center_to_parent centers the form with respect to the screen or desktop.