Table of Contents

Constructor TreeViewItem

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

TreeViewItem()

Initializes a new instance of the TreeViewItem class with default values.

public TreeViewItem()

TreeViewItem(string)

Initializes a new instance of the TreeViewItem class with the specified item text.

public TreeViewItem(string text)

Parameters

text string

The text to display for the 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

text string

The text to display for the item.

imageIndex int?

The zero-based index of the image within the ImageList associated with the TreeView that contains the item.