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

BinaryTreeListConnectingRootLineConverter

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

Tells a row's template whether the row is a top-level row, which has no parent to draw a line up to.

public sealed class BinaryTreeListConnectingRootLineConverter : IValueConverter

Inherits from / implements: IValueConverter

Remarks

For a template of your own for BinaryTreeListViewItem. The control's own template does not need it: the rows draw their connecting lines themselves.

Members at a glance

Methods
ConvertReports whether the row is a top-level row.
ConvertBackNot supported: the template binds one way.

Methods

Convert

public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)

Reports whether the row is a top-level row.

Parameters
value
The row, a TreeViewItem.
targetType
Not used.
parameter
Not used.
culture
Not used.
Returns

true or false; false when value is not a row.

ConvertBack

public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)

Not supported: the template binds one way.

Parameters
value
Not used.
targetType
Not used.
parameter
Not used.
culture
Not used.
Returns

Always false.