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

BinaryTreeListView

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

A custom TreeView derived class that renders and manages its data in several columns, each column's row being rendered in an hierarchical manner.

public partial class BinaryTreeListView : TreeView

Inherits from / implements: TreeView

Remarks

To use it: add GridViewColumns to Columns, set ItemsSource (or add BinaryTreeListViewItems), and say which column carries the tree with TreeListViewColumn or TreeListViewColumnIndex. How this control works. It is a TreeView whose rows are laid out like a ListView in grid view. The control owns one GridViewColumnCollection; the heading row is a GridViewHeaderRowPresenter over it, and every row, at every depth, draws its cells with a BinaryTreeListViewNodePresenter - a GridViewRowPresenter over the same collection - so the columns line up across levels and follow any resize or reorder of the headings. The node presenter indents only the tree column's cell by the row's depth, puts the expander there, and draws the connecting lines and row separators itself; the other columns are plain cells. The tree column follows the column, not the index. TreeListViewColumn is what the rows go by; TreeListViewColumnIndex is kept in step with it, including when the user drags that column to a new position, and an index set before the columns exist is taken up as soon as a column arrives at it. Sorting (AllowsColumnSorting) sorts every branch, not just the top level: bound branches through their view's sort descriptions, unbound ones by reordering the item containers. Row striping is laid again after a sort, an expand or a collapse. Multi-selection is built on the tree view's single selection: the tree view selects the row clicked, and a handler on SelectedItemChanged keeps MultiSelectedItems - Ctrl toggles a row, Shift takes the top-level rows from the last plain click to the row clicked. Rows it selects itself are selected with the tree view's internal IsSelectionChangeActive set, read by reflection, so that the tree view does not deselect each one as the next is selected; without that property (a future framework), the multi-selection features stay off.

Members at a glance

BinaryTreeListViewInitializes a new instance of the BinaryTreeListView class.
AllowsColumnReorderGets or sets a value indicating whether a column can be moved by dragging its heading.
AllowsColumnSortingGets or sets a value indicating whether clicking a column heading sorts the rows by that column.
AlternateRowBackgroundBrushGets or sets the background given to the rows in odd positions on screen.
CollapseButtonImageGets or sets the collapse button image.
ColumnHeaderBackgroundBrushGets or sets the fill behind the column headings.
ColumnHeaderBorderBrushGets or sets the colour of the edge drawn to the right of and under each column heading.
ColumnHeaderForegroundBrushGets or sets the colour the column headings' text is drawn in.
ColumnHeaderHeightGets or sets how tall the column headings are drawn.
ColumnHeaderHoverBackgroundBrushGets or sets the fill behind a column heading the pointer is over.
ColumnHeaderPressedBackgroundBrushGets or sets the fill behind a column heading that is being pressed.
ColumnReorderIndicatorBrushGets or sets the colour of the line that shows where a dragged column will be dropped, and of the wash over the column being dragged.
ColumnsGets the columns collection in the control.
ExpandButtonImageGets or sets the expand button image.
ExpandCollapseBorderBrushGets or sets the expand / collapse border brush.
ExpandCollapseButtonImageStretchGets or sets the expand collapse button image stretch.
ExpandCollapseControlFillBrushGets or sets the expand / collapse glyph fill brush.
ExpandCollapsePlusMinusBrushGets or sets the expand / collapse plus / minus brush.
ExpanderGlyphGets or sets the shape the expand / collapse control is drawn as.
InactiveSelectionBackgroundBrushGets or sets the background of a selected row while the control does not have focus.
InactiveSelectionForegroundBrushGets or sets the text colour of a selected row while the control does not have focus.
IsMultiSelectionEnabledGets or sets whether multi-selection of notes is enabled.
IsNodesConnectingLineDottedGets or sets a value indicating whether the lines that join the nodes are drawn as dashes rather than solid.
IsNodesConnectingLineVisibleGets or sets a value indicating whether the control should draw the nodes connecting line.
IsShiftMultiSelectionEnabledGets or sets whether the SHIFT + selection is enabled for multi-selection of nodes. By default this value is false.
MouseOverBackgroundBrushGets or sets the row background drawn while the pointer is over it.
MouseOverForegroundBrushGets or sets the row foreground drawn while the pointer is over it.
MultiSelectedItemsGets the multi-selected items.
NodesConnectingLineBrushGets or sets the nodes connecting line brush.
RenderCollapseExpandVisualAlwaysInTheFirstColumnGets or sets a value indicating whether to always render the first column as the tree-list view colum.
RowBackgroundBrushGets or sets the background given to the rows in even positions on screen.
RowSeparatorBrushGets or sets the brush the line under each row is drawn in. No line is drawn while this is null , which is what it starts as.
SelectionBackgroundBrushGets or sets the node/row item "selection" background brush.
SelectionForegroundBrushGets or sets the node/row item "selection" foreground brush.
SortDirectionGets which way round SortedColumn is sorted.
SortGlyphBrushGets or sets the colour the sort arrow over the column heading is drawn in.
SortedColumnGets the column the rows are currently in order of, or null when they are in the order they were added.
ThemeGets or sets the built-in colour scheme the control draws itself in.
TreeListViewColumnGets or sets the column that carries the tree - the expander, the indent and the connecting lines. Every other column draws as a plain cell, and the nodes keep their parents and children whichever column this is.
TreeListViewColumnIndexGets or sets the position of the column that carries the tree.
TreeListViewItemIsRenderedWithRoundedCornerGets or sets a value indicating whether the tree list view item is rendered with rounded corner.
ClearColumnSortStops sorting by a column.
CollapseAllNodesCollapses all nodes.
ExpandAllNodesExpands all nodes.
ExpandNodeByIndexExpands the index of the node by.
ExpandNodesByIndicesExpands the nodes by indices.
GetContainerForItemOverrideCreates the container that one item is shown in, which for this control is a BinaryTreeListViewItem.
GetSortMemberPathGets the property a column is sorted by.
IsItemItsOwnContainerOverrideReports whether an item can be shown as it stands, without being wrapped in a container of its own.
OnApplyTemplateApplies the control's template.
OnItemsChangedRaises the ItemsChanged event. BinaryTreeListView overrides it so the control's own handling runs alongside the base behavior.
RefreshRowDecorationsDraws every row on screen again.
RefreshRowStripingLays the alternating row backgrounds again, in the order the rows are drawn.
SelectNodeByIndexSelects the index of the node by.
SelectNodesByIndicesSelects several nodes at once by their positions in the list.
SetSortMemberPathSets the property a column is sorted by.
SortByColumnPuts every branch of the tree in order of one column.
ColumnReorderedOccurs after a column has been moved by dragging its heading.
ColumnSortedOccurs after the rows have been put in order of a column.
AllowsColumnReorderPropertyIdentifies the AllowsColumnReorder dependency property.
AllowsColumnSortingPropertyIdentifies the AllowsColumnSorting dependency property.
AlternateRowBackgroundBrushPropertyIdentifies the AlternateRowBackgroundBrush dependency property.
CollapseButtonImagePropertyIdentifies the CollapseButtonImage dependency property.
ColumnHeaderBackgroundBrushPropertyIdentifies the ColumnHeaderBackgroundBrush dependency property.
ColumnHeaderBorderBrushPropertyIdentifies the ColumnHeaderBorderBrush dependency property.
ColumnHeaderForegroundBrushPropertyIdentifies the ColumnHeaderForegroundBrush dependency property.
ColumnHeaderHeightPropertyIdentifies the ColumnHeaderHeight dependency property.
ColumnHeaderHoverBackgroundBrushPropertyIdentifies the ColumnHeaderHoverBackgroundBrush dependency property.
ColumnHeaderPressedBackgroundBrushPropertyIdentifies the ColumnHeaderPressedBackgroundBrush dependency property.
ColumnReorderIndicatorBrushPropertyIdentifies the ColumnReorderIndicatorBrush dependency property.
ExpandButtonImagePropertyIdentifies the ExpandButtonImage dependency property.
ExpandCollapseBorderBrushPropertyIdentifies the ExpandCollapseBorderBrush dependency property.
ExpandCollapseButtonImageStretchPropertyIdentifies the ExpandCollapseButtonImageStretch dependency property.
ExpandCollapseControlFillBrushPropertyIdentifies the ExpandCollapseControlFillBrush dependency property.
ExpandCollapsePlusMinusBrushPropertyIdentifies the ExpandCollapsePlusMinusBrush dependency property.
ExpanderGlyphPropertyIdentifies the ExpanderGlyph dependency property.
InactiveSelectionBackgroundBrushPropertyIdentifies the InactiveSelectionBackgroundBrush dependency property.
InactiveSelectionForegroundBrushPropertyIdentifies the InactiveSelectionForegroundBrush dependency property.
IsMultiSelectionEnabledPropertyIdentifies the IsMultiSelectionEnabled dependency property.
IsNodesConnectingLineDottedPropertyIdentifies the IsNodesConnectingLineDotted dependency property.
IsNodesConnectingLineVisiblePropertyIdentifies the IsNodesConnectingLineVisible dependency property.
IsShiftMultiSelectionEnabledPropertyIdentifies the IsShiftMultiSelectionEnabled dependency property.
MouseOverBackgroundBrushPropertyIdentifies the MouseOverBackgroundBrush dependency property.
MouseOverForegroundBrushPropertyIdentifies the MouseOverForegroundBrush dependency property.
NodesConnectingLineBrushPropertyIdentifies the NodesConnectingLineBrush dependency property.
RenderCollapseExpandVisualAlwaysInTheFirstColumnPropertyIdentifies the RenderCollapseExpandVisualAlwaysInTheFirstColumn dependency property.
RowBackgroundBrushPropertyIdentifies the RowBackgroundBrush dependency property.
RowSeparatorBrushPropertyIdentifies the RowSeparatorBrush dependency property.
SelectionBackgroundBrushPropertyIdentifies the SelectionBackgroundBrush dependency property.
SelectionForegroundBrushPropertyIdentifies the SelectionForegroundBrush dependency property.
SortDirectionPropertyIdentifies the SortDirection dependency property.
SortGlyphBrushPropertyIdentifies the SortGlyphBrush dependency property.
SortMemberPathPropertyIdentifies the SortMemberPath attached property, which names the property to sort a column by when the column draws its cells with a template and so has no DisplayMemberBinding to read one from.
SortedColumnPropertyIdentifies the SortedColumn dependency property.
ThemePropertyIdentifies the Theme dependency property.
TreeListViewColumnIndexPropertyIdentifies the TreeListViewColumnIndex dependency property.
TreeListViewColumnPropertyIdentifies the TreeListViewColumn dependency property.
TreeListViewItemIsRenderedWithRoundedCornerPropertyIdentifies the TreeListViewItemIsRenderedWithRoundedCorner dependency property.

Constructors

BinaryTreeListView

public BinaryTreeListView()

Initializes a new instance of the BinaryTreeListView class.

Properties

AllowsColumnReorder

public bool AllowsColumnReorder

Gets or sets a value indicating whether a column can be moved by dragging its heading.

The heading row carries out the move itself, and locks the column collection while a drag is running; what this control adds is the drop line and the wash over the column being dragged.

AllowsColumnSorting

public bool AllowsColumnSorting

Gets or sets a value indicating whether clicking a column heading sorts the rows by that column.

AlternateRowBackgroundBrush

public Brush AlternateRowBackgroundBrush

Gets or sets the background given to the rows in odd positions on screen.

A tree has no natural alternating row, because "every other one" counts what is on screen while the control knows only what is nested. Setting this hands that counting to the control: the rows are walked in the order they are drawn, collapsed branches are passed over, and the stripes are laid again whenever a branch opens or closes, the rows are sorted, or the items change.

CollapseButtonImage

public ImageSource CollapseButtonImage

Gets or sets the collapse button image.

ColumnHeaderBackgroundBrush

public Brush ColumnHeaderBackgroundBrush

Gets or sets the fill behind the column headings.

ColumnHeaderBorderBrush

public Brush ColumnHeaderBorderBrush

Gets or sets the colour of the edge drawn to the right of and under each column heading.

ColumnHeaderForegroundBrush

public Brush ColumnHeaderForegroundBrush

Gets or sets the colour the column headings' text is drawn in.

ColumnHeaderHeight

public double ColumnHeaderHeight

Gets or sets how tall the column headings are drawn.

ColumnHeaderHoverBackgroundBrush

public Brush ColumnHeaderHoverBackgroundBrush

Gets or sets the fill behind a column heading the pointer is over.

ColumnHeaderPressedBackgroundBrush

public Brush ColumnHeaderPressedBackgroundBrush

Gets or sets the fill behind a column heading that is being pressed.

ColumnReorderIndicatorBrush

public Brush ColumnReorderIndicatorBrush

Gets or sets the colour of the line that shows where a dragged column will be dropped, and of the wash over the column being dragged.

Columns

public GridViewColumnCollection Columns

Gets the columns collection in the control.

ExpandButtonImage

public ImageSource ExpandButtonImage

Gets or sets the expand button image.

ExpandCollapseBorderBrush

public Brush ExpandCollapseBorderBrush

Gets or sets the expand / collapse border brush.

ExpandCollapseButtonImageStretch

public Stretch ExpandCollapseButtonImageStretch

Gets or sets the expand collapse button image stretch.

Value. The expand collapse button image stretch.

ExpandCollapseControlFillBrush

public Brush ExpandCollapseControlFillBrush

Gets or sets the expand / collapse glyph fill brush.

ExpandCollapsePlusMinusBrush

public Brush ExpandCollapsePlusMinusBrush

Gets or sets the expand / collapse plus / minus brush.

ExpanderGlyph

public BinaryTreeListViewExpanderGlyph ExpanderGlyph

Gets or sets the shape the expand / collapse control is drawn as.

ExpandButtonImage and CollapseButtonImage still cover the drawn glyph when either is set. The colours come from ExpandCollapseControlFillBrush, ExpandCollapseBorderBrush and ExpandCollapsePlusMinusBrush whichever shape is chosen.

InactiveSelectionBackgroundBrush

public Brush InactiveSelectionBackgroundBrush

Gets or sets the background of a selected row while the control does not have focus.

Value. The inactive selection brush. Defaults to the system's control colour.

SelectionBackgroundBrush applies only while the tree has focus; set this as well to keep a designed selection colour when the user clicks elsewhere.

InactiveSelectionForegroundBrush

public Brush InactiveSelectionForegroundBrush

Gets or sets the text colour of a selected row while the control does not have focus.

Value. The inactive selection text brush. Defaults to the system's control text colour.

IsMultiSelectionEnabled

public bool IsMultiSelectionEnabled

Gets or sets whether multi-selection of notes is enabled.

By default, CTRL + click based multi-selection is enabled if you set this property to true.If you also need Shift + Selection for multi-selection, then please set IsShiftMultiSelectionEnabled to True.

IsNodesConnectingLineDotted

public bool IsNodesConnectingLineDotted

Gets or sets a value indicating whether the lines that join the nodes are drawn as dashes rather than solid.

IsNodesConnectingLineVisible

public bool IsNodesConnectingLineVisible

Gets or sets a value indicating whether the control should draw the nodes connecting line.

IsShiftMultiSelectionEnabled

public bool IsShiftMultiSelectionEnabled

Gets or sets whether the SHIFT + selection is enabled for multi-selection of nodes. By default this value is false.

MouseOverBackgroundBrush

public Brush MouseOverBackgroundBrush

Gets or sets the row background drawn while the pointer is over it.

Value. The hover brush. Null by default, which draws no hover at all.

Set a brush to give rows a hover state; with the default of null rows look the same whether or not the pointer is over them.

MouseOverForegroundBrush

public Brush MouseOverForegroundBrush

Gets or sets the row foreground drawn while the pointer is over it.

Value. The hover text brush. Null by default, leaving the text as it is.

MultiSelectedItems

public List<BinaryTreeListViewItem> MultiSelectedItems

Gets the multi-selected items.

Value. The multi selected items.

NodesConnectingLineBrush

public SolidColorBrush NodesConnectingLineBrush

Gets or sets the nodes connecting line brush.

Value. The nodes connecting line brush.

RenderCollapseExpandVisualAlwaysInTheFirstColumn

public bool RenderCollapseExpandVisualAlwaysInTheFirstColumn

Gets or sets a value indicating whether to always render the first column as the tree-list view colum.

RowBackgroundBrush

public Brush RowBackgroundBrush

Gets or sets the background given to the rows in even positions on screen.

Nothing is striped while AlternateRowBackgroundBrush is null .

RowSeparatorBrush

public Brush RowSeparatorBrush

Gets or sets the brush the line under each row is drawn in. No line is drawn while this is null , which is what it starts as.

SelectionBackgroundBrush

public Brush SelectionBackgroundBrush

Gets or sets the node/row item "selection" background brush.

SelectionForegroundBrush

public Brush SelectionForegroundBrush

Gets or sets the node/row item "selection" foreground brush.

SortDirection

public ListSortDirection SortDirection

Gets which way round SortedColumn is sorted.

SortGlyphBrush

public Brush SortGlyphBrush

Gets or sets the colour the sort arrow over the column heading is drawn in.

SortedColumn

public GridViewColumn SortedColumn

Gets the column the rows are currently in order of, or null when they are in the order they were added.

Theme

public BinaryTreeListViewTheme Theme

Gets or sets the built-in colour scheme the control draws itself in.

Setting this writes the control's brush properties, so any one of them can be set afterwards to depart from the scheme in one place. Setting it back to Custom clears the brushes a scheme writes, so the control goes back to its default colours - which are the skin's, when Binarymission.WPF.Skinning.BinarySkinManager has one in force.

TreeListViewColumn

public GridViewColumn TreeListViewColumn

Gets or sets the column that carries the tree - the expander, the indent and the connecting lines. Every other column draws as a plain cell, and the nodes keep their parents and children whichever column this is.

Value. The tree list view column.

The column is what the control goes by, and TreeListViewColumnIndex follows it - including when the user drags that column to a new position. RenderCollapseExpandVisualAlwaysInTheFirstColumn overrides both.

TreeListViewColumnIndex

public int TreeListViewColumnIndex

Gets or sets the position of the column that carries the tree.

Value. The index of the tree column, or -1 when none has been asked for.

It may be set before the columns are added: the column at that position is taken as the tree column as soon as the collection has one.

TreeListViewItemIsRenderedWithRoundedCorner

public bool TreeListViewItemIsRenderedWithRoundedCorner

Gets or sets a value indicating whether the tree list view item is rendered with rounded corner.

Methods

ClearColumnSort

public void ClearColumnSort()

Stops sorting by a column.

The rows that were re-ordered in place stay where the sort left them; what this removes is the sort arrow, and the ordering applied to a tree that is bound to a source.

CollapseAllNodes

public void CollapseAllNodes()

Collapses all nodes.

ExpandAllNodes

public void ExpandAllNodes(bool shouldScrollBackToTop)

Expands all nodes.

shouldScrollBackToTop
if set to true the control should scroll back to the top item in the tree-listview instance.

ExpandNodeByIndex

public void ExpandNodeByIndex(int index)

Expands the index of the node by.

index
The index.

ExpandNodesByIndices

public void ExpandNodesByIndices(IEnumerable<int> indices)

Expands the nodes by indices.

indices
The indices.

GetContainerForItemOverride

protected override DependencyObject GetContainerForItemOverride()

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

GetSortMemberPath

public static string GetSortMemberPath(DependencyObject column)

Gets the property a column is sorted by.

column
The column.

Returns. The property's name, or null .

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.

OnApplyTemplate

public override void OnApplyTemplate()

Applies the control's template.

The heading row and the sort arrow belong to the template that has just been thrown away, so both are looked for again the next time they are wanted.

OnItemsChanged

protected override void OnItemsChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e)

Raises the ItemsChanged event. BinaryTreeListView overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

RefreshRowDecorations

public void RefreshRowDecorations()

Draws every row on screen again.

The rows read the lines and the separator off the control as they draw, and a property read that way is not a binding: nothing tells the rows it has changed. This does.

RefreshRowStriping

public void RefreshRowStriping()

Lays the alternating row backgrounds again, in the order the rows are drawn.

Called by the control whenever the order or the number of visible rows changes. It is public because a tree whose rows are expanded by something other than the control - a binding to IsExpanded , say - has no other way of saying that the stripes are now wrong.

SelectNodeByIndex

public void SelectNodeByIndex(int index)

Selects the index of the node by.

index
The index.

SelectNodesByIndices

public void SelectNodesByIndices(IEnumerable<int> indices)

Selects several nodes at once by their positions in the list.

indices
The zero-based positions to select. An empty sequence selects nothing.

SetSortMemberPath

public static void SetSortMemberPath(DependencyObject column, string path)

Sets the property a column is sorted by.

column
The column.
path
The property's name.

SortByColumn

public void SortByColumn(GridViewColumn column, ListSortDirection direction)

Puts every branch of the tree in order of one column.

column
The column to sort by.
direction
Which way round to sort it.
Does nothing when the column has neither a DisplayMemberBinding nor a SortMemberPath : there is then no property to read, and a column of templated cells cannot be guessed at.

Events

ColumnReordered

public event EventHandler ColumnReordered

Occurs after a column has been moved by dragging its heading.

ColumnSorted

public event EventHandler ColumnSorted

Occurs after the rows have been put in order of a column.

Fields

AllowsColumnReorderProperty

public static readonly DependencyProperty AllowsColumnReorderProperty

Identifies the AllowsColumnReorder dependency property.

AllowsColumnSortingProperty

public static readonly DependencyProperty AllowsColumnSortingProperty

Identifies the AllowsColumnSorting dependency property.

AlternateRowBackgroundBrushProperty

public static readonly DependencyProperty AlternateRowBackgroundBrushProperty

Identifies the AlternateRowBackgroundBrush dependency property.

CollapseButtonImageProperty

public static readonly DependencyProperty CollapseButtonImageProperty

Identifies the CollapseButtonImage dependency property.

ColumnHeaderBackgroundBrushProperty

public static readonly DependencyProperty ColumnHeaderBackgroundBrushProperty

Identifies the ColumnHeaderBackgroundBrush dependency property.

ColumnHeaderBorderBrushProperty

public static readonly DependencyProperty ColumnHeaderBorderBrushProperty

Identifies the ColumnHeaderBorderBrush dependency property.

ColumnHeaderForegroundBrushProperty

public static readonly DependencyProperty ColumnHeaderForegroundBrushProperty

Identifies the ColumnHeaderForegroundBrush dependency property.

ColumnHeaderHeightProperty

public static readonly DependencyProperty ColumnHeaderHeightProperty

Identifies the ColumnHeaderHeight dependency property.

ColumnHeaderHoverBackgroundBrushProperty

public static readonly DependencyProperty ColumnHeaderHoverBackgroundBrushProperty

Identifies the ColumnHeaderHoverBackgroundBrush dependency property.

ColumnHeaderPressedBackgroundBrushProperty

public static readonly DependencyProperty ColumnHeaderPressedBackgroundBrushProperty

Identifies the ColumnHeaderPressedBackgroundBrush dependency property.

ColumnReorderIndicatorBrushProperty

public static readonly DependencyProperty ColumnReorderIndicatorBrushProperty

Identifies the ColumnReorderIndicatorBrush dependency property.

ExpandButtonImageProperty

public static readonly DependencyProperty ExpandButtonImageProperty

Identifies the ExpandButtonImage dependency property.

ExpandCollapseBorderBrushProperty

public static readonly DependencyProperty ExpandCollapseBorderBrushProperty

Identifies the ExpandCollapseBorderBrush dependency property.

ExpandCollapseButtonImageStretchProperty

public static readonly DependencyProperty ExpandCollapseButtonImageStretchProperty

Identifies the ExpandCollapseButtonImageStretch dependency property.

ExpandCollapseControlFillBrushProperty

public static readonly DependencyProperty ExpandCollapseControlFillBrushProperty

Identifies the ExpandCollapseControlFillBrush dependency property.

ExpandCollapsePlusMinusBrushProperty

public static readonly DependencyProperty ExpandCollapsePlusMinusBrushProperty

Identifies the ExpandCollapsePlusMinusBrush dependency property.

ExpanderGlyphProperty

public static readonly DependencyProperty ExpanderGlyphProperty

Identifies the ExpanderGlyph dependency property.

InactiveSelectionBackgroundBrushProperty

public static readonly DependencyProperty InactiveSelectionBackgroundBrushProperty

Identifies the InactiveSelectionBackgroundBrush dependency property.

InactiveSelectionForegroundBrushProperty

public static readonly DependencyProperty InactiveSelectionForegroundBrushProperty

Identifies the InactiveSelectionForegroundBrush dependency property.

IsMultiSelectionEnabledProperty

public static readonly DependencyProperty IsMultiSelectionEnabledProperty = DependencyProperty.Register("IsMultiSelectionEnabled", typeof(bool), typeof(BinaryTreeListView), new UIPropertyMetadata(false, (o, e)

Identifies the IsMultiSelectionEnabled dependency property.

IsNodesConnectingLineDottedProperty

public static readonly DependencyProperty IsNodesConnectingLineDottedProperty

Identifies the IsNodesConnectingLineDotted dependency property.

IsNodesConnectingLineVisibleProperty

public static readonly DependencyProperty IsNodesConnectingLineVisibleProperty

Identifies the IsNodesConnectingLineVisible dependency property.

IsShiftMultiSelectionEnabledProperty

public static readonly DependencyProperty IsShiftMultiSelectionEnabledProperty = DependencyProperty.Register("IsShiftMultiSelectionEnabled", typeof(bool), typeof(BinaryTreeListView), new UIPropertyMetadata(false, (o, e)

Identifies the IsShiftMultiSelectionEnabled dependency property.

MouseOverBackgroundBrushProperty

public static readonly DependencyProperty MouseOverBackgroundBrushProperty

Identifies the MouseOverBackgroundBrush dependency property.

MouseOverForegroundBrushProperty

public static readonly DependencyProperty MouseOverForegroundBrushProperty

Identifies the MouseOverForegroundBrush dependency property.

NodesConnectingLineBrushProperty

public static readonly DependencyProperty NodesConnectingLineBrushProperty

Identifies the NodesConnectingLineBrush dependency property.

RenderCollapseExpandVisualAlwaysInTheFirstColumnProperty

public static readonly DependencyProperty RenderCollapseExpandVisualAlwaysInTheFirstColumnProperty

Identifies the RenderCollapseExpandVisualAlwaysInTheFirstColumn dependency property.

RowBackgroundBrushProperty

public static readonly DependencyProperty RowBackgroundBrushProperty

Identifies the RowBackgroundBrush dependency property.

RowSeparatorBrushProperty

public static readonly DependencyProperty RowSeparatorBrushProperty

Identifies the RowSeparatorBrush dependency property.

SelectionBackgroundBrushProperty

public static readonly DependencyProperty SelectionBackgroundBrushProperty

Identifies the SelectionBackgroundBrush dependency property.

SelectionForegroundBrushProperty

public static readonly DependencyProperty SelectionForegroundBrushProperty

Identifies the SelectionForegroundBrush dependency property.

SortDirectionProperty

public static readonly DependencyProperty SortDirectionProperty

Identifies the SortDirection dependency property.

SortGlyphBrushProperty

public static readonly DependencyProperty SortGlyphBrushProperty

Identifies the SortGlyphBrush dependency property.

SortMemberPathProperty

public static readonly DependencyProperty SortMemberPathProperty

Identifies the SortMemberPath attached property, which names the property to sort a column by when the column draws its cells with a template and so has no DisplayMemberBinding to read one from.

SortedColumnProperty

public static readonly DependencyProperty SortedColumnProperty

Identifies the SortedColumn dependency property.

ThemeProperty

public static readonly DependencyProperty ThemeProperty

Identifies the Theme dependency property.

TreeListViewColumnIndexProperty

public static readonly DependencyProperty TreeListViewColumnIndexProperty

Identifies the TreeListViewColumnIndex dependency property.

TreeListViewColumnProperty

public static readonly DependencyProperty TreeListViewColumnProperty

Identifies the TreeListViewColumn dependency property.

TreeListViewItemIsRenderedWithRoundedCornerProperty

public static readonly DependencyProperty TreeListViewItemIsRenderedWithRoundedCornerProperty

Identifies the TreeListViewItemIsRenderedWithRoundedCorner dependency property.