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

◆ from_handle()

static std::optional< control_ref > xtd::forms::control::from_handle ( intptr  handle)
static

Returns the control that is currently associated with the specified handle.

Parameters
handleThe window handle (HWND) to search for.
Returns
A control that represents the control associated with the specified handle; returns null if no control with the specified handle is found.