Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.AvalonDock Assembly / Xceed.Wpf.AvalonDock.Layout Namespace / ILayoutGroup Interface / ReplaceChildAt Method
The index of the child element that will be replaced
The replacement element.


In This Topic
    ReplaceChildAt Method (ILayoutGroup)
    In This Topic
    Replaces the child element at the specified index with the specified element.
    Syntax
    'Declaration
     
    Sub ReplaceChildAt( _
       ByVal index As Integer, _
       ByVal element As ILayoutElement _
    ) 
    'Usage
     
    Dim instance As ILayoutGroup
    Dim index As Integer
    Dim element As ILayoutElement
     
    instance.ReplaceChildAt(index, element)
    void ReplaceChildAt( 
       int index,
       ILayoutElement element
    )

    Parameters

    index
    The index of the child element that will be replaced
    element
    The replacement element.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also