Table of Contents

Class TreeViewBase

Namespace
Skyline.DataMiner.Utils.InteractiveAutomationScript
Assembly
Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
public abstract class TreeViewBase : InteractiveWidget, ITreeViewBase, IIsReadonlyWidget
Inheritance
TreeViewBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

TreeViewBase()

Properties

IsReadOnly

Gets or sets a value indicating whether the control is displayed in read-only mode. Read-only mode causes the widgets to appear read-write but the user won't be able to change their value. This only affects interactive scripts running in a web environment.

Tooltip

Gets or sets the tooltip text associated with the treeview.

Methods

Collapse()

Sets the IsCollapsed state for all items in the tree view to true, causing the entire tree view to be collapsed.

Expand()

Sets the IsCollapsed state for all items in the tree view to false, causing the entire tree view to be expanded.

UpdateItemCache()

This method is used to update the cached TreeViewItems and lookup table. This is done after loading the results from the UI Block, after handling the Events or when setting the Items. This method should only be called from outside the TreeView if you are checking or collapsing items from outside of the TreeView and need to access the CheckedItems or CollapsedItems.