OnVisualParentChanged Method

Visual3D::OnVisualParentChanged Method (DependencyObject^)

 

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

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public protected:
virtual void OnVisualParentChanged(
	DependencyObject^ oldParent
)

Parameters

oldParent
Type: System.Windows::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.

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft