Window.OnVisualParentChanged(DependencyObject) Window.OnVisualParentChanged(DependencyObject) Window.OnVisualParentChanged(DependencyObject) Window.OnVisualParentChanged(DependencyObject) Method

定義

ウィンドウの親が変更されると呼び出されます。Called when the parent of the window is changed.

protected public:
 override void OnVisualParentChanged(System::Windows::DependencyObject ^ oldParent);
protected internal override sealed void OnVisualParentChanged (System.Windows.DependencyObject oldParent);
override this.OnVisualParentChanged : System.Windows.DependencyObject -> unit
Protected Friend Overrides NotOverridable Sub OnVisualParentChanged (oldParent As DependencyObject)

パラメーター

oldParent
DependencyObject DependencyObject DependencyObject DependencyObject

直前の親。The previous parent. DependencyObject の直前の親が存在しない場合は null に設定されます。Set to null if the DependencyObject did not have a previous parent.

適用対象

こちらもご覧ください