Bewerken

Share via


Visual3D.OnVisualParentChanged(DependencyObject) Method

Definition

Called when the parent of the 3-D visual object is changed.

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

Parameters

oldParent
DependencyObject

A value of type DependencyObject that represents the previous parent of the Visual3D object. If the Visual3D object did not have a previous parent, the value of the parameter is null.

Remarks

The OnVisualParentChanged method is introduced in .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to