Class TreeViewConnectingLines
Provides the necessary infrastructure to enable drawing connecting lines between the TreeViewItems in a TreeView.
Inheritance
Inherited Members
Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.Toolkit.dll
Syntax
public static class TreeViewConnectingLines
Fields
| Improve this Doc View SourceIsExpanderButtonOfProperty
Identifies the IsExpanderButtonOf dependency property.
Declaration
public static readonly DependencyProperty IsExpanderButtonOfProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsHeaderOfProperty
Identifies the IsHeaderOf dependency property.
Declaration
public static readonly DependencyProperty IsHeaderOfProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsHorizontalConnectingLineOfProperty
Identifies the IsHorizontalConnectingLineOf dependency property.
Declaration
public static readonly DependencyProperty IsHorizontalConnectingLineOfProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsVerticalConnectingLineOfProperty
Identifies the IsVerticalConnectingLineOf dependency property.
Declaration
public static readonly DependencyProperty IsVerticalConnectingLineOfProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Methods
| Improve this Doc View SourceGetIsExpanderButtonOf(ToggleButton)
Gets the value of the IsExpanderButtonOf attached property for a specified ToggleButton.
Declaration
public static TreeViewItem GetIsExpanderButtonOf(ToggleButton element)
Parameters
Type | Name | Description |
---|---|---|
ToggleButton | element | The ToggleButton from which the property value is read. |
Returns
Type | Description |
---|---|
TreeViewItem | The IsExpanderButtonOf property value for the ToggleButton. |
GetIsHeaderOf(FrameworkElement)
Gets the value of the IsHeaderOf attached property for a specified FrameworkElement.
Declaration
public static TreeViewItem GetIsHeaderOf(FrameworkElement element)
Parameters
Type | Name | Description |
---|---|---|
FrameworkElement | element | The FrameworkElement from which the property value is read. |
Returns
Type | Description |
---|---|
TreeViewItem | The IsHeaderOf property value for the FrameworkElement. |
GetIsHorizontalConnectingLineOf(Line)
Gets the value of the IsHorizontalConnectingLineOf attached property for a specified Line.
Declaration
public static TreeViewItem GetIsHorizontalConnectingLineOf(Line element)
Parameters
Type | Name | Description |
---|---|---|
Line | element | The Line from which the property value is read. |
Returns
Type | Description |
---|---|
TreeViewItem | The IsHorizontalConnectingLineOf property value for the Line. |
GetIsVerticalConnectingLineOf(Line)
Gets the value of the IsVerticalConnectingLineOf attached property for a specified Line.
Declaration
public static TreeViewItem GetIsVerticalConnectingLineOf(Line element)
Parameters
Type | Name | Description |
---|---|---|
Line | element | The Line from which the property value is read. |
Returns
Type | Description |
---|---|
TreeViewItem | The IsVerticalConnectingLineOf property value for the Line. |
SetIsExpanderButtonOf(ToggleButton, TreeViewItem)
Sets the value of the IsExpanderButtonOf attached property to a specified ToggleButton.
Declaration
public static void SetIsExpanderButtonOf(ToggleButton element, TreeViewItem value)
Parameters
Type | Name | Description |
---|---|---|
ToggleButton | element | The ToggleButton to which the attached property is written. |
TreeViewItem | value | The needed IsExpanderButtonOf value. |
SetIsHeaderOf(FrameworkElement, TreeViewItem)
Sets the value of the IsHeaderOf attached property to a specified FrameworkElement.
Declaration
public static void SetIsHeaderOf(FrameworkElement element, TreeViewItem value)
Parameters
Type | Name | Description |
---|---|---|
FrameworkElement | element | The FrameworkElement to which the attached property is written. |
TreeViewItem | value | The needed IsHeaderOf value. |
SetIsHorizontalConnectingLineOf(Line, TreeViewItem)
Sets the value of the IsHorizontalConnectingLineOf attached property to a specified Line.
Declaration
public static void SetIsHorizontalConnectingLineOf(Line element, TreeViewItem value)
Parameters
Type | Name | Description |
---|---|---|
Line | element | The Line to which the attached property is written. |
TreeViewItem | value | The needed IsHorizontalConnectingLineOf value. |
SetIsVerticalConnectingLineOf(Line, TreeViewItem)
Sets the value of the IsVerticalConnectingLineOf attached property to a specified Line.
Declaration
public static void SetIsVerticalConnectingLineOf(Line element, TreeViewItem value)
Parameters
Type | Name | Description |
---|---|---|
Line | element | The Line to which the attached property is written. |
TreeViewItem | value | The needed IsVerticalConnectingLineOf value. |