Method TryFindTreeViewItem
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
TryFindTreeViewItem(string, out TreeViewItem)
Can be used to retrieve an item from the tree view based on its key value.
public bool TryFindTreeViewItem(string key, out TreeViewItem item)
Parameters
keystringKey used to search for the item.
itemTreeViewItemItem in the tree that matches the provided key.
Returns
- bool
True if the item was found, otherwise false.