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

컬렉션에 추가된 Visual입니다.The Visual that was added to the collection.

visualRemoved
DependencyObject DependencyObject DependencyObject DependencyObject

컬렉션에서 제거된 Visual입니다.The Visual that was removed from the collection.

설명

ZIndex 값은 자식 요소를 추가 하거나 컬렉션에서 제거할 때 자동으로 다시 계산 됩니다.ZIndex values are automatically recalculated when child elements are added to or removed from the collection.

적용 대상

추가 정보