Table of Contents

Interface ITreeView<T>

Namespace
Skyline.DataMiner.Utils.InteractiveAutomationScript
Assembly
Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll

Defines a generic tree view widget with support for typed treeview items.

public interface ITreeView<T> : ITreeViewBase, IIsReadonlyWidget

Type Parameters

T

The type of the value associated with each treeview item.

Inherited Members
Extension Methods

Properties

CheckedItems

Gets all items in the tree view that are selected.

CheckedLeafValues

Gets the values of all leaves in the tree view that are selected.

CheckedLeaves

Gets all leaves (= items without children) in the tree view that are selected.

CheckedNodeValues

Gets the values of all nodes in the tree view that are selected.

CheckedNodes

Gets all nodes (= items with children) in the tree view that are selected.

CheckedValues

Gets the values of all items 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<T>)

Can be used to retrieve an item from the tree view based on its key value.