Interface · Hooks and State
ControlRef
Retained reference to a mounted native control.
@sharpts/gui · SharpTS 572a2e31be0eMembers
__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
src/SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:188 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.