ControlUtils: Fix FinAllChildren

This commit is contained in:
lorenz.stechauner committed 2023-09-28 20:03:00 +02:00
1 parent ca1b68aa4f
commit 3be6371be1
2 files changed
+6 -2

No files matched your search

+2 -1
View File
@@ -58,7 +58,8 @@ namespace Elwig.Helpers {
continue;
} else if (child is T t) {
yield return t;
} else if (child is DependencyObject childDepOpj) {
}
if (child is DependencyObject childDepOpj) {
foreach (T childOfChild in FindAllChildren<T>(childDepOpj)) {
yield return childOfChild;
}