Documentation
On this page

Interface · Hooks and State

ControlRef

Retained reference to a mounted native control.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

__controlHandle

readonly __controlHandle: THandle

Phantom field preserving the native handle type.

Type: THandle

isAttached

readonly isAttached: boolean

Whether the reference is currently attached to a mounted control.

Type: boolean

focus

focus(): boolean

Moves keyboard focus to the attached control.

Source

SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:171 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.