Lingua

Visual3D.FindCommonVisualAncestor(DependencyObject) Metodo

Definizione

Restituisce il predecessore comune dell'oggetto visivo e un altro oggetto visivo specificato.

public:
 System::Windows::DependencyObject ^ FindCommonVisualAncestor(System::Windows::DependencyObject ^ otherVisual);
public System.Windows.DependencyObject FindCommonVisualAncestor(System.Windows.DependencyObject otherVisual);
member this.FindCommonVisualAncestor : System.Windows.DependencyObject -> System.Windows.DependencyObject
Public Function FindCommonVisualAncestor (otherVisual As DependencyObject) As DependencyObject

Parametri

otherVisual
DependencyObject

Oggetto visivo con cui trovare un predecessore comune.

Valori restituiti

Predecessore comune dell'oggetto visivo corrente e otherVisual; oppure null se non viene trovato alcun predecessore comune.

Si applica a