A component that displays hierarchical data in a tree structure with expandable/collapsible nodes.
For more examples, visit the Storybook.
StudsTree
ParametersGets or sets whether the tree displays checkboxes for each item.
Gets or sets whether checking a parent item also checks all its children.
Gets or sets whether checking children affects the parent’s checked state.
Gets or sets whether only one branch can be expanded at a time.
Gets or sets the selected item’s value.
Gets or sets the aria-label for the selected item.
Gets or sets the CSS class for the item content.
Gets or sets the CSS class for the item icon.
Gets or sets the CSS class for the item label.
Callback invoked when the selected value changes.
Gets or sets the collection of checked item values.
Specifies the collection of data items which StudsTree will create its items from.
A callback that will be invoked when item is rendered.
Gets or sets the child items content.
Callback invoked when the checked values collection changes.
Callback invoked when an item is selected.
Callback invoked when an item is expanded.
Callback invoked when an item is collapsed.
Callback invoked when right-clicking an item.
Specifies additional custom attributes that will be rendered by the component.
Gets or sets the callback that is invoked when the mouse enters an item.
Gets or sets the callback that is invoked when the mouse leaves an item.
A callback that will be invoked when the user right-clicks the component. Commonly used to display a context menu.
Gets or sets the culture used to display localizable data (numbers, dates). Set by default to “CultureInfo.CurrentCulture”.
Gets or sets the inline CSS style.
Gets or sets a value indicating whether this “T:Studs.StudsComponent” is visible. Invisible components are not rendered.
StudsTreeItem
ParametersGets or sets the display text of the tree item.
Gets or sets the value associated with this item.
Gets or sets whether this item can be checked.
Gets or sets whether this item has child items.
Gets or sets whether this item is expanded.
Gets or sets whether this item is selected.
Gets or sets custom template for rendering the item content.
Gets or sets the child items content.
The StudsTree which this item is part of.
The parent item of this tree item.
The children data.
Gets or sets the CSS class for the item content.
Gets or sets the CSS class for the item icon.
Gets or sets the CSS class for the item label.
StudsTreeLevel
ParametersFor data-bound scenarios:
Specifies the property name to use for item text.
Specifies the name of the property which provides values for the Checkable property of the child items.
Specifies the property name that contains child items.
Function that determines if an item has children.
Function that determines if an item should be expanded.
Function that determines if an item should be selected.
Function that determines the display text for an item.
Determines the if the checkbox of the child item can be checked.
Gets or sets the template.
The StudsTree which this item is part of.
For more examples, visit the Storybook.
StudsTree
ParametersGets or sets whether the tree displays checkboxes for each item.
Gets or sets whether checking a parent item also checks all its children.
Gets or sets whether checking children affects the parent’s checked state.
Gets or sets whether only one branch can be expanded at a time.
Gets or sets the selected item’s value.
Gets or sets the aria-label for the selected item.
Gets or sets the CSS class for the item content.
Gets or sets the CSS class for the item icon.
Gets or sets the CSS class for the item label.
Callback invoked when the selected value changes.
Gets or sets the collection of checked item values.
Specifies the collection of data items which StudsTree will create its items from.
A callback that will be invoked when item is rendered.
Gets or sets the child items content.
Callback invoked when the checked values collection changes.
Callback invoked when an item is selected.
Callback invoked when an item is expanded.
Callback invoked when an item is collapsed.
Callback invoked when right-clicking an item.
Specifies additional custom attributes that will be rendered by the component.
Gets or sets the callback that is invoked when the mouse enters an item.
Gets or sets the callback that is invoked when the mouse leaves an item.
A callback that will be invoked when the user right-clicks the component. Commonly used to display a context menu.
Gets or sets the culture used to display localizable data (numbers, dates). Set by default to “CultureInfo.CurrentCulture”.
Gets or sets the inline CSS style.
Gets or sets a value indicating whether this “T:Studs.StudsComponent” is visible. Invisible components are not rendered.
StudsTreeItem
ParametersGets or sets the display text of the tree item.
Gets or sets the value associated with this item.
Gets or sets whether this item can be checked.
Gets or sets whether this item has child items.
Gets or sets whether this item is expanded.
Gets or sets whether this item is selected.
Gets or sets custom template for rendering the item content.
Gets or sets the child items content.
The StudsTree which this item is part of.
The parent item of this tree item.
The children data.
Gets or sets the CSS class for the item content.
Gets or sets the CSS class for the item icon.
Gets or sets the CSS class for the item label.
StudsTreeLevel
ParametersFor data-bound scenarios:
Specifies the property name to use for item text.
Specifies the name of the property which provides values for the Checkable property of the child items.
Specifies the property name that contains child items.
Function that determines if an item has children.
Function that determines if an item should be expanded.
Function that determines if an item should be selected.
Function that determines the display text for an item.
Determines the if the checkbox of the child item can be checked.
Gets or sets the template.
The StudsTree which this item is part of.