menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TDISplitPanel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TDISplitPanel

    Presents split panel for locate two elements.

    Inheritance
    System.Object
    PanelBase
    TDISplitPanel
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class TDISplitPanel : PanelBase

    Constructors

    TDISplitPanel(UIElement, UIElement, Orientation)

    Initializes a new instance of the TDISplitPanel class.

    Declaration
    public TDISplitPanel(UIElement firstElement, UIElement secondElement, Orientation orientation)
    Parameters
    Type Name Description
    System.Windows.UIElement firstElement

    The first element.

    System.Windows.UIElement secondElement

    The second element.

    System.Windows.Controls.Orientation orientation

    The orientation.

    Properties

    LogicalChildren

    Gets an enumerator for logical child elements of this element.

    Declaration
    protected override IEnumerator LogicalChildren { get; }
    Property Value
    Type
    System.Collections.IEnumerator

    VisualChildrenCount

    Gets the number of visual child elements within this element.

    Declaration
    protected override int VisualChildrenCount { get; }
    Property Value
    Type
    System.Int32

    Methods

    AddElement(UIElement)

    Adds the element.

    Declaration
    public override void AddElement(UIElement element)
    Parameters
    Type Name Description
    System.Windows.UIElement element

    The element.

    Overrides
    PanelBase.AddElement(UIElement)

    ArrangeOverride(Size)

    When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    System.Windows.Size finalSize

    The final area within the parent that this element should use to arrange itself and its children.

    Returns
    Type Description
    System.Windows.Size

    The actual size used.

    GetElement(Boolean)

    Gets the element.

    Declaration
    public override UIElement GetElement(bool first)
    Parameters
    Type Name Description
    System.Boolean first

    if set to true [first].

    Returns
    Type Description
    System.Windows.UIElement

    UIElement Element

    Overrides
    PanelBase.GetElement(Boolean)

    GetOppositeElement(UIElement)

    Gets the opposite element.

    Declaration
    public override UIElement GetOppositeElement(UIElement element)
    Parameters
    Type Name Description
    System.Windows.UIElement element

    The element.

    Returns
    Type Description
    System.Windows.UIElement

    UIElement element

    Overrides
    PanelBase.GetOppositeElement(UIElement)

    GetVisualChild(Int32)

    Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.

    Declaration
    protected override Visual GetVisualChild(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the requested child element in the collection.

    Returns
    Type Description
    System.Windows.Media.Visual

    The requested child element. This should not return null; if the provided index is out of range, an exception is thrown.

    HasElement(UIElement, Boolean)

    Determines whether [has other element] [the specified element].

    Declaration
    public override bool HasElement(UIElement element, bool next)
    Parameters
    Type Name Description
    System.Windows.UIElement element

    The element.

    System.Boolean next

    if set to true validate next element otherwise previous.

    Returns
    Type Description
    System.Boolean

    true if [has other element] [the specified element]; otherwise, false.

    Overrides
    PanelBase.HasElement(UIElement, Boolean)

    MeasureOverride(Size)

    When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize

    The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

    Returns
    Type Description
    System.Windows.Size

    The size that this element determines it needs during layout, based on its calculations of child element sizes.

    OnRenderSizeChanged(SizeChangedInfo)

    Raises the System.Windows.FrameworkElement.SizeChanged event, using the specified information as part of the eventual event data.

    Declaration
    protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
    Parameters
    Type Name Description
    System.Windows.SizeChangedInfo sizeInfo

    Details of the old and new size involved in the change.

    RemoveElement(UIElement)

    Removes the element.

    Declaration
    public override void RemoveElement(UIElement element)
    Parameters
    Type Name Description
    System.Windows.UIElement element

    The element.

    Overrides
    PanelBase.RemoveElement(UIElement)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved