Interface · Hooks and State
ControlRef
Retained reference to a mounted native control.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Members
__controlHandle
readonly __controlHandle: THandlePhantom field preserving the native handle type.
Type: THandle
isAttached
readonly isAttached: booleanWhether the reference is currently attached to a mounted control.
Type: boolean
focus
focus(): booleanMoves keyboard focus to the attached control.
Source
SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:171 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.