Visual.OnVisualChildrenChanged(DependencyObject, DependencyObject) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
修改可视对象的 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。