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

◆ from_control()

static screen xtd::forms::screen::from_control ( const control control)
static

Retrieves a screen for the display that contains the largest portion of the specified control.

Parameters
controlA xtd::forms::control for which to retrieve a Screen.
Returns
A screen for the display that contains the largest region of the specified control. In multiple display environments where no display contains the control, the display closest to the specified control is returned.