Class TreeNodeContainer
This is a scrollable node container that holds the item elements. And handles the arrange and measure logic of all elements.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeView
Assembly: Syncfusion.TreeView.WinUI.dll
Syntax
public class TreeNodeContainer : TreeNodesContainerBase, IDisposable
Constructors
TreeNodeContainer()
Declaration
public TreeNodeContainer()
Fields
HorizontalScrollBarOffsetProperty
Identifies the HorizontalScrollBarOffset dependency property.
Declaration
public static readonly DependencyProperty HorizontalScrollBarOffsetProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
VerticalScrollBarOffsetProperty
Identifies the VerticalScrollBarOffset dependency property.
Declaration
public static readonly DependencyProperty VerticalScrollBarOffsetProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Properties
HorizontalScrollBarOffset
Gets or sets the horizontal offset of the TreeNodeContainer.
Declaration
public double HorizontalScrollBarOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The horizontal offset. |
VerticalScrollBarOffset
Gets or sets the vertical offset of the TreeNodeContainer.
Declaration
public double VerticalScrollBarOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The vertical offset. |
Methods
ArrangeOverride(Size)
Positions and sizes the children of the TreeNodeContainer.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize | The available size for the element to use. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | A Windows.Foundation.Size.#ctor(System.Double,System.Double) which contains the desired size of the element. |
MeasureOverride(Size)
This method is used to get the desired size of an element.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | constraint | The available size for the element to use. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | A Windows.Foundation.Size.#ctor(System.Double,System.Double) which contains the desired size of the element. |