HypernovaDesktop Components · docs
Binarymission
WPF › Tree List View › BinaryTreeListViewItem

BinaryTreeListViewItem

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.TreeControls

A custom TreeViewItem derived class to support enhanced treelistview rendering.

public class BinaryTreeListViewItem : TreeViewItem

Inherits from / implements: TreeViewItem

Members at a glance

LevelGets the node level.
GetContainerForItemOverrideCreates the container that one item is shown in, which for this control is a BinaryTreeListViewItem.
IsItemItsOwnContainerOverrideReports whether an item can be shown as it stands, without being wrapped in a container of its own.
OnItemsChangedDraws this row and every row beneath it again when its children change: a row's connecting lines depend on whether another row follows it at its level, and on the same for each of its ancestors.

Properties

Level

public int Level

Gets the node level.

Value. The level.

Methods

GetContainerForItemOverride

protected override DependencyObject GetContainerForItemOverride()

Creates the container that one item is shown in, which for this control is a BinaryTreeListViewItem.

IsItemItsOwnContainerOverride

protected override bool IsItemItsOwnContainerOverride(object item)

Reports whether an item can be shown as it stands, without being wrapped in a container of its own.

OnItemsChanged

protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Draws this row and every row beneath it again when its children change: a row's connecting lines depend on whether another row follows it at its level, and on the same for each of its ancestors.

e
What changed.