Window.OnVisualChildrenChanged(DependencyObject, DependencyObject) 方法

定义

Window 对象的 VisualCollection 被修改时调用。

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)

参数

visualAdded
DependencyObject

已添加到集合中的 Visual

visualRemoved
DependencyObject

从集合中移除的 Visual

适用于