menu

Class TreeNodeContainer - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeNodeContainer

    This is a scrollable node container that holds the item elements. And handles the arrange and measure logic of all elements.

    Inheritance
    System.Object
    TreeNodesContainerBase
    TreeNodeContainer
    Implements
    System.IDisposable
    Inherited Members
    TreeNodesContainerBase.CanHorizontallyScroll
    TreeNodesContainerBase.CanVerticallyScroll
    TreeNodesContainerBase.CreateScrollAxis(Boolean, IScrollBar, ILineSizeHost)
    TreeNodesContainerBase.Dispose()
    TreeNodesContainerBase.Dispose(Boolean)
    TreeNodesContainerBase.ExtentHeight
    TreeNodesContainerBase.ExtentWidth
    TreeNodesContainerBase.HorizontalOffset
    TreeNodesContainerBase.HScrollBar
    TreeNodesContainerBase.LineDown()
    TreeNodesContainerBase.LineLeft()
    TreeNodesContainerBase.LineRight()
    TreeNodesContainerBase.LineUp()
    TreeNodesContainerBase.MouseWheelDown()
    TreeNodesContainerBase.MouseWheelUp()
    TreeNodesContainerBase.PageDown()
    TreeNodesContainerBase.PageLeft()
    TreeNodesContainerBase.PageRight()
    TreeNodesContainerBase.PageUp()
    TreeNodesContainerBase.ScrollOwner
    TreeNodesContainerBase.ScrollRows
    TreeNodesContainerBase.SetHorizontalOffset(Double)
    TreeNodesContainerBase.SetVerticalOffset(Double)
    TreeNodesContainerBase.VerticalOffset
    TreeNodesContainerBase.ViewportHeight
    TreeNodesContainerBase.ViewportWidth
    TreeNodesContainerBase.VScrollBar
    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.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved