Edit

Share via


RibbonSeparator.OnVisualParentChanged(DependencyObject) Method

Definition

Invoked when the parent of this element in the visual tree is changed.

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)

Parameters

oldParent
DependencyObject

Old parent or null if the element in the visual tree did not have a parent before.

Applies to