Documentation
On this page

Function · Data and Templates

createTree

Creates a native tree from hierarchical application data.

@sharpts/gui · SharpTS 572a2e31be0e

Signature

TypeScript
createTree(props: TreeProps<T>): GuiElement

Parameters

NameTypeDescription
propsTreeProps<T>Root items and callbacks describing the hierarchy.

Returns

GuiElement — A TreeView element containing keyed TreeViewItem elements.

Source

src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:890 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.