Partager via


Visual.OnVisualChildrenChanged(DependencyObject, DependencyObject) Méthode

Définition

Appelé lorsque le VisualCollection de l'objet visuel est modifié.

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

Paramètres

visualAdded
DependencyObject

Visual ajouté à la collection.

visualRemoved
DependencyObject

Visual supprimé de la collection.

S’applique à