GetUIParentCore, méthode

FrameworkElement.GetUIParentCore, méthode

Returns an alternative logical parent for this element if there is no visual parent.

Espace de noms: System.Windows
Assembly : PresentationFramework (dans presentationframework.dll)

protected internal override DependencyObject GetUIParentCore ()
protected DependencyObject GetUIParentCore ()
protected internal override function GetUIParentCore () : DependencyObject
Vous ne pouvez pas utiliser des méthodes dans XAML.

Valeur de retour

Returns something other than référence Null (Nothing en Visual Basic) whenever a WPF framework-level implementation of this method has a non-visual parent connection.

This method overrides UIElement.GetUIParentCore. The default FrameworkElement implementation returns the expected single visual parent, which is the same result as getting the Parent value. Derived class implementations might return alternate parent relationships.

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0

Ajouts de la communauté

AJOUTER
Afficher:
© 2016 Microsoft