示例#1
0
 public static string GetBindingPath(this BindableElement element) =>
 element.Parents().OfType <BindableElement>().Where(be => !string.IsNullOrEmpty(be.bindingPath)).First().bindingPath;