Class TreeListItem
Wraps the items in the TreeListView
in order
to provide additional details for each of them.
Inheritance
Implements
Namespace: Phoenix.Controls
Assembly: Phoenix.Controls.TreeListView.dll
Syntax
public class TreeListItem : BindableBase, IIndentItem
Constructors
View SourceTreeListItem(TreeListView)
Initializes a new instance of the TreeListItem class.
Declaration
public TreeListItem(TreeListView owner)
Parameters
Type | Name | Description |
---|---|---|
TreeListView | owner | The |
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 |
Properties
View SourceHasChildren
Gets a value indicating whether this item has children or not.
Declaration
public virtual bool HasChildren { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
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 |
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 |
Item
Gets or sets the object being wrapped by this class.
Declaration
public object Item { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Level
Gets or sets the level in the view for this item.
Declaration
public int Level { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Owner
Gets the TreeListView that owns this ItemWrapper.
Declaration
protected TreeListView Owner { get; }
Property Value
Type | Description |
---|---|
TreeListView |