Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.AvalonDock Assembly / Xceed.Wpf.AvalonDock.Layout Namespace / LayoutAnchorableFloatingWindow Class / ReplaceChild Method
The old element.
The new element.


    ReplaceChild Method (LayoutAnchorableFloatingWindow)
    Replaces a specified child element with a specified new element.
    Syntax
    'Declaration
     
    Public Overrides Sub ReplaceChild( _
       ByVal oldElement As ILayoutElement, _
       ByVal newElement As ILayoutElement _
    ) 
     
    'Usage
     
    Dim instance As LayoutAnchorableFloatingWindow
    Dim oldElement As ILayoutElement
    Dim newElement As ILayoutElement
     
    instance.ReplaceChild(oldElement, newElement)

    Parameters

    oldElement
    The old element.
    newElement
    The new 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