Grid.OnVisualChildrenChanged(DependencyObject, DependencyObject) 方法

定义

Grid 元素的可视子级发生更改时调用。

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

标识添加的可视子级。

visualRemoved
DependencyObject

标识移除的可视子级。

适用于