Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

VisualElement.FindCommonAncestor

public UIElements.VisualElement FindCommonAncestor(UIElements.VisualElement other);

Description

Finds the lowest commont ancestor between two VisualElements inside the VisualTree hierarchy

Did you find this page useful? Please give it a rating: