Constructor TreeViewItem
- Namespace
- Skyline.DataMiner.Net.AutomationUI.Objects
- Assembly
- SLNetTypes.dll
TreeViewItem(string, string, List<TreeViewItem>)
Initializes a new instance of the TreeViewItem class.
public TreeViewItem(string displayValue, string keyValue, List<TreeViewItem> childItems = null)
Parameters
displayValue
stringThe display value.
keyValue
stringThe key value.
childItems
List<TreeViewItem>The child items.
TreeViewItem(string, string, bool, List<TreeViewItem>)
Initializes a new instance of the TreeViewItem class.
public TreeViewItem(string displayValue, string keyValue, bool isChecked, List<TreeViewItem> childItems = null)
Parameters
displayValue
stringThe display value.
keyValue
stringThe key value.
isChecked
boolIndication of whether the item is selected by default.
childItems
List<TreeViewItem>The child items.