摘要: 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 阅读全文
posted @ 2012-01-16 23:28 zhh 阅读(178) 评论(0) 推荐(0) 编辑