Interface ITreeView
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
Defines a tree view widget with basic operations.
public interface ITreeView : ITreeViewBase, IIsReadonlyWidget
- Inherited Members
- Extension Methods
Properties
- CheckedItems
Gets all items in the tree view that are selected.
- CheckedLeaves
Gets all leaves (= items without children) in the tree view that are selected.
- CheckedNodes
Gets all nodes (= items with children) in the tree view that are selected.
- Items
Gets or sets the top-level items in the tree view. The TreeViewItem.ChildItems property can be used to navigate further down the tree.
Methods
- GetAllItems()
Iterates over all items in the tree and returns them in a flat collection.
- GetItems(int)
Returns all items in the tree view that are located at the provided depth. Whenever the requested depth is greater than the longest branch in the tree, an empty collection will be returned.
- TryFindTreeViewItem(string, out TreeViewItem)
Can be used to retrieve an item from the tree view based on its key value.