Documentation
On this page

Interface · Hooks and State

ControlRef

Retained reference to a mounted native control.

@sharpts/gui · SharpTS 572a2e31be0e

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

src/SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:188 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.