MenuItem.OnVisualParentChanged(DependencyObject) MenuItem.OnVisualParentChanged(DependencyObject) MenuItem.OnVisualParentChanged(DependencyObject) MenuItem.OnVisualParentChanged(DependencyObject) Method

定義

ビジュアル MenuItem の親が変更されると呼び出されます。Called when the parent of the visual MenuItem changes.

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

パラメーター

oldParent
DependencyObject DependencyObject DependencyObject DependencyObject

ビジュアルの親の変更前の値。ビジュアルに親がなかった場合は null。Old value of the parent of the visual, or null if the visual did not have a parent.

適用対象