Documentation
On this page

Interface · Devtools

InspectorNode

One node in a desktop inspector snapshot.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

bounds

bounds: InspectorBounds

Native layout bounds.

Type: InspectorBounds

children

children: InspectorNode[]

Inspected native child nodes.

Type: InspectorNode[]

classes

classes: string[]

Avalonia style classes applied to the control.

Type: string[]

isEnabled

isEnabled: boolean

Whether the native control accepts interaction.

Type: boolean

isVisible

isVisible: boolean

Whether the native control is visible.

Type: boolean

key

key: string | null

Reconciliation key, when provided.

Type: string | null

kind

kind: string

SharpTS control kind.

Type: string

nativeType

nativeType: string

Managed native control type name.

Type: string

props

props: { height: number | null; text: string | null; title: string | null; width: number | null }

Selected commonly inspected prop values.

Type: { height: number | null; text: string | null; title: string | null; width: number | null }

source

source: InspectorSourceLocation | null

TSX source location, when available.

Type: InspectorSourceLocation | null

Source

SharpTS.Gui.Sdk/GuiPackage/devtools.ts:26 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.