UIElement3D.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.
Invoked when the parent element of this UIElement3D reports a change to its underlying visual parent.
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
The previous parent. This may be provided as null
if the DependencyObject did not have a parent element previously.
Notes to Inheritors
If you override this method, always call the base implementation. The default base implementation performs some internal maintenance of reverse-inherited property state. Failing to call the base implementation will invalidate this state.
This method overrides OnVisualParentChanged(DependencyObject). FrameworkElement and Window both also override the UIElement3D implementation of OnVisualParentChanged(DependencyObject), and Window seals it.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om