From 0155f2f975174e04968841fa5d24b7d8823a4ba3 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Fri, 31 May 2024 22:29:25 +0200 Subject: [PATCH] Update MapPanel.WPF.cs --- MapControl/WPF/MapPanel.WPF.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/WPF/MapPanel.WPF.cs b/MapControl/WPF/MapPanel.WPF.cs index 66cdddfe..bc2fd1e6 100644 --- a/MapControl/WPF/MapPanel.WPF.cs +++ b/MapControl/WPF/MapPanel.WPF.cs @@ -41,7 +41,7 @@ namespace MapControl element.RenderTransformOrigin = new Point(originX, originY); } - protected IEnumerable ChildElements => Children.OfType(); + protected IEnumerable ChildElements => InternalChildren.OfType(); private static void SetVisible(FrameworkElement element, bool visible) {