Panel.OnVisualChildrenChanged(DependencyObject, DependencyObject) Panel.OnVisualChildrenChanged(DependencyObject, DependencyObject) Panel.OnVisualChildrenChanged(DependencyObject, DependencyObject) Panel.OnVisualChildrenChanged(DependencyObject, DependencyObject) Method

定義

ビジュアル オブジェクトの VisualCollection が変更されると、呼び出されます。Invoked when the VisualCollection of a visual object is modified.

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 DependencyObject DependencyObject DependencyObject

コレクションに追加された VisualThe Visual that was added to the collection.

visualRemoved
DependencyObject DependencyObject DependencyObject DependencyObject

コレクションから削除された VisualThe Visual that was removed from the collection.

注釈

ZIndex子要素をコレクションに追加したり、コレクションから削除したりすると、値は自動的に再計算されます。ZIndex values are automatically recalculated when child elements are added to or removed from the collection.

適用対象

こちらもご覧ください