Experimental: this API is experimental and might be changed or removed in the future.

VisualElement.FindCommonAncestor

切换到手册

描述

查找 VisualTree 层级视图中两个 VisualElement 之间的最低共同上级