摘要:
public static void SearchVisualTree(DependencyObject targetElement, int width,string Node){var count = VisualTreeHelper.GetChildrenCount(targetElement);if (count == 0){return;}for (int i = 0; i < count; i++){var child = VisualTreeHelper.GetChild(targetElement, i);if (child is TextBlock){TextBlock 阅读全文