Class TreeNodeContainer
This is a scrollable node container that holds the item elements. And handles the arrange and measure logic of all elements.
Implements
System.Windows.Controls.Primitives.IScrollInfo
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeView
Assembly: Syncfusion.SfTreeView.WPF.dll
Syntax
public class TreeNodeContainer : TreeNodesContainerBase, IScrollInfo
Constructors
TreeNodeContainer()
Declaration
public TreeNodeContainer()
Methods
ArrangeOverride(Size)
Positions and sizes the children of the TreeNodeContainer.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | The available size for the element to use. |
Returns
Type | Description |
---|---|
System.Windows.Size | A System.Windows.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 |
---|---|---|
System.Windows.Size | constraint | The available size for the element to use. |
Returns
Type | Description |
---|---|
System.Windows.Size | A System.Windows.Size.#ctor(System.Double,System.Double) which contains the desired size of the element. |
Implements
System.Windows.Controls.Primitives.IScrollInfo