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.
Remarks
OnVisualParentChanged is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.
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
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по