Panel.OnVisualChildrenChanged(DependencyObject, DependencyObject) Método

Definición

Se invoca cuando se modifica VisualCollection de un objeto visual.Invoked when the VisualCollection of a visual object is modified.

protected public:
 override void OnVisualChildrenChanged(System::Windows::DependencyObject ^ visualAdded, System::Windows::DependencyObject ^ visualRemoved);
protected internal override void OnVisualChildrenChanged (System.Windows.DependencyObject visualAdded, System.Windows.DependencyObject visualRemoved);
override this.OnVisualChildrenChanged : System.Windows.DependencyObject * System.Windows.DependencyObject -> unit
Protected Friend Overrides Sub OnVisualChildrenChanged (visualAdded As DependencyObject, visualRemoved As DependencyObject)

Parámetros

visualAdded
DependencyObject

Visual que se agregó a la colección.The Visual that was added to the collection.

visualRemoved
DependencyObject

El Visual que se ha quitado de la recolección.The Visual that was removed from the collection.

Comentarios

ZIndexlos valores se recalculan automáticamente cuando se agregan o quitan elementos secundarios de la colección.ZIndex values are automatically recalculated when child elements are added to or removed from the collection.

Se aplica a

Consulte también: