Table of Contents

Class TreeViewItem

Namespace
Skyline.DataMiner.Net.AutomationUI.Objects
Assembly
SLNetTypes.dll

Represents an item of a tree view control.

[Serializable]
public class TreeViewItem
Inheritance
TreeViewItem
Extension Methods

Examples

var treeViewItem = new TreeViewItem("displayValue", "keyValue", false) { CheckingBehavior = TreeViewItem.TreeViewItemCheckingBehavior.None };

Constructors

TreeViewItem(string, string, bool, List<TreeViewItem>)

Initializes a new instance of the TreeViewItem class.

TreeViewItem(string, string, List<TreeViewItem>)

Initializes a new instance of the TreeViewItem class.

Properties

ChildItems

Gets or sets the items that are child items of this item.

DisplayValue

Gets or sets the string value displayed for this item in the UI.

IsChecked

Gets or sets a value indicating whether the item is selected.

IsCollapsed

Gets or sets a value indicating whether the item is collapsed.

ItemType

Gees or sets the item type.

KeyValue

Gets or sets the string value that is used as a key to retrieve the selected state of the item.

Methods

Equals(TreeViewItem)

Determines whether the specified object is equal to the current object.

Equals(object)

Determines whether the specified object is equal to the current object.

FromCode(string)

Parses the specified string and returns the corresponding TreeViewItem instance.

GetHashCode()

Calculates the hash code for this object.

ToCode()

Returns a string representation of this dialog box item.