編輯

共用方式為


Visual.OnVisualChildrenChanged(DependencyObject, DependencyObject) Method

Definition

Called when the VisualCollection of the visual object is modified.

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)

Parameters

visualAdded
DependencyObject

The Visual that was added to the collection.

visualRemoved
DependencyObject

The Visual that was removed from the collection.

Applies to