Xceed Toolkit Plus for WPF v4.6 Documentation
OnVisualChildrenChanged Method (StaircasePanel)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > StaircasePanel Class : OnVisualChildrenChanged Method
The Visual that was added to the collection.
The Visual that was removed from the collection.
Invoked when the VisualCollection of a visual object is modified.
Syntax
'Declaration
 
Protected Overrides Sub OnVisualChildrenChanged( _

   ByVal visualAdded As DependencyObject, _

   ByVal visualRemoved As DependencyObject _

) 
'Usage
 
Dim instance As StaircasePanel

Dim visualAdded As DependencyObject

Dim visualRemoved As DependencyObject

 

instance.OnVisualChildrenChanged(visualAdded, visualRemoved)
protected override void OnVisualChildrenChanged( 

   DependencyObject visualAdded,

   DependencyObject visualRemoved

)

Parameters

visualAdded
The Visual that was added to the collection.
visualRemoved
The Visual that was removed from the collection.
Remarks
ZIndex values are automatically recalculated when child elements are added to or removed from the collection.
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

StaircasePanel Class
StaircasePanel Members
Base Implementation in OnVisualChildrenChanged