Show / Hide Table of Contents

Class TreeListItem

Wraps the items in the TreeListView in order to provide additional details for each of them.

Inheritance
System.Object
TreeListItem
Implements
IIndentItem
Namespace: Phoenix.Controls
Assembly: Phoenix.Controls.TreeListView.dll
Syntax
public class TreeListItem : BindableBase, IIndentItem

Constructors

View Source

TreeListItem(TreeListView)

Initializes a new instance of the TreeListItem class.

Declaration
public TreeListItem(TreeListView owner)
Parameters
Type Name Description
TreeListView owner

The TreeListView which owns this item.

View Source

TreeListItem(Object, TreeListView)

Initializes a new instance of the TreeListItem class.

Declaration
public TreeListItem(object item, TreeListView owner)
Parameters
Type Name Description
System.Object item

The item to wrap.

TreeListView owner

The TreeListView which owns this item.

Properties

View Source

HasChildren

Gets a value indicating whether this item has children or not.

Declaration
public virtual bool HasChildren { get; }
Property Value
Type Description
System.Boolean
View Source

IndentWidth

Gets or sets the base width of the indentation that should be used together with the level of this item.

Declaration
public double IndentWidth { get; set; }
Property Value
Type Description
System.Double
View Source

IsExpanded

Gets or sets a value indicating whether this item is expanded or collapsed.

Declaration
public bool IsExpanded { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsHighlighted

Gets or sets a value indicating whether this item is being highlighted by the user.

Declaration
public bool IsHighlighted { get; set; }
Property Value
Type Description
System.Boolean
View Source

Item

Gets or sets the object being wrapped by this class.

Declaration
public object Item { get; set; }
Property Value
Type Description
System.Object
View Source

Level

Gets or sets the level in the view for this item.

Declaration
public int Level { get; set; }
Property Value
Type Description
System.Int32
View Source

Owner

Gets the TreeListView that owns this ItemWrapper.

Declaration
protected TreeListView Owner { get; }
Property Value
Type Description
TreeListView

Implements

IIndentItem
  • View Source
In This Article
Back to top Generated by DocFX