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

◆ native_handle()

intptr xtd::forms::control::native_handle ( ) const
noexcept

Gets the native handle that the control is bound to.

Returns
An intptr that contains the native handle (HWND) of the control.
Remarks
When the underlying toolkits is native, xtd::forms::control::handle and xtd::forms::control::native_handle are the same, But if the underlying toolkit is not native, the xtd::forms::control::handle matches the toolkit handle while xtd::forms::control::native_handle returns the true native handle.