Visual.OnVisualChildrenChanged(DependencyObject, DependencyObject) 方法

定义

修改可视对象的 VisualCollection 时调用。

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)

参数

visualAdded
DependencyObject

已添加到集合中的 Visual

visualRemoved
DependencyObject

从集合中移除的 Visual

适用于