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


In This Topic
    ReplaceChildAt Method (LayoutGroup<T>)
    In This Topic
    Replaces the child element at the specified index with the specified element.
    Syntax
    'Declaration
     
    Public Sub ReplaceChildAt( _
       ByVal index As Integer, _
       ByVal element As ILayoutElement _
    ) 
    'Usage
     
    Dim instance As LayoutGroup(Of T)
    Dim index As Integer
    Dim element As ILayoutElement
     
    instance.ReplaceChildAt(index, element)
    public 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