Constructor TreeViewItem
TreeViewItem()
Initializes a new instance of the TreeViewItem class.
public TreeViewItem()
TreeViewItem(string)
Initializes a new instance of the TreeViewItem class with the specified text.
public TreeViewItem(string text)
Parameters
textstringThe text of the tree control item.
TreeViewItem(string, int?)
Initializes a new instance of the TreeViewItem class with the specified item text and the image index position of the item's icon.
public TreeViewItem(string text, int? imageIndex)
Parameters
textstringThe text to display for the item.
imageIndexint?The zero-based index of the image within the ImageList associated with the StdTreeView that contains the item.