Function · Data and Templates
createTree
Creates a native tree from hierarchical application data.
@sharpts/gui · SharpTS 572a2e31be0eSignature
TypeScript
createTree(props: TreeProps<T>): GuiElementParameters
| Name | Type | Description |
|---|---|---|
props | TreeProps<T> | Root items and callbacks describing the hierarchy. |
Returns
GuiElement — A TreeView element containing keyed TreeViewItem elements.
Related symbols
Source
src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:890 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.