Visual3D.OnVisualParentChanged(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.