Change code formatting
This commit is contained in:
		| @@ -6,16 +6,12 @@ using System.Threading.Tasks; | ||||
| using System.Windows.Media; | ||||
| using System.Windows; | ||||
|  | ||||
| namespace WGneu | ||||
| { | ||||
|     class Utils | ||||
|     { | ||||
|         public static IEnumerable<T> FindVisualChilds<T>(DependencyObject depObj) where T : DependencyObject | ||||
|         { | ||||
| namespace WGneu { | ||||
|     class Utils { | ||||
|         public static IEnumerable<T> FindVisualChilds<T>(DependencyObject depObj) where T : DependencyObject { | ||||
|             if (depObj == null) | ||||
|                 yield return (T)Enumerable.Empty<T>(); | ||||
|             for (int i = 0; i < VisualTreeHelper.GetChildrenCount(depObj); i++) | ||||
|             { | ||||
|             for (int i = 0; i < VisualTreeHelper.GetChildrenCount(depObj); i++) { | ||||
|                 DependencyObject ithChild = VisualTreeHelper.GetChild(depObj, i); | ||||
|                 if (ithChild == null) | ||||
|                     continue; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user