Xceed Toolkit Plus for WPF v4.6 Documentation
OnRootChanged Method


Xceed.Wpf.AvalonDock Assembly > Xceed.Wpf.AvalonDock.Layout Namespace > LayoutElement Class : OnRootChanged Method
The old root.
The new root.
Provides derived classes an opportunity to handle changes to the Root property.
Syntax
'Declaration
 
Protected Overridable Sub OnRootChanged( _
   ByVal oldRoot As ILayoutRoot, _
   ByVal newRoot As ILayoutRoot _
) 
'Usage
 
Dim instance As LayoutElement
Dim oldRoot As ILayoutRoot
Dim newRoot As ILayoutRoot
 
instance.OnRootChanged(oldRoot, newRoot)
protected virtual void OnRootChanged( 
   ILayoutRoot oldRoot,
   ILayoutRoot newRoot
)

Parameters

oldRoot
The old root.
newRoot
The new root.
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

Reference

LayoutElement Class
LayoutElement Members