Documentation
On this page

Interface · Devtools

InspectorNode

One node in a desktop inspector snapshot.

@sharpts/gui · SharpTS 572a2e31be0e

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

src/SharpTS.Gui.Sdk/GuiPackage/devtools.ts:26 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.