Method GetHandle
GetHandle()
Gets native handle of the control. On WxWidgets platform returns pointer to the native control. For Windows returns hWnd, for macOs returns pointer to NSView, for Linux GTK returns pointer to GtkWidget. For other operating systems returns Zero.
nint GetHandle()
Returns
- nint
If control has no native representation, returns Zero. If native control is not created, returns Zero. If control is disposed, returns Zero. If control is not attached to the visual tree, returns Zero. If control is not WxWidgets control, returns Zero.
Remarks
You should not use this property directly.