Update MapPanel.Avalonia.cs

This commit is contained in:
ClemensFischer 2025-06-10 18:13:13 +02:00
parent d944058ab3
commit 0f221a511a

View file

@ -1,6 +1,4 @@
using System.Collections.Generic; namespace MapControl
namespace MapControl
{ {
public partial class MapPanel public partial class MapPanel
{ {
@ -13,7 +11,7 @@ namespace MapControl
public static readonly AttachedProperty<BoundingBox> BoundingBoxProperty = public static readonly AttachedProperty<BoundingBox> BoundingBoxProperty =
DependencyPropertyHelper.RegisterAttached<BoundingBox>("BoundingBox", typeof(MapPanel)); DependencyPropertyHelper.RegisterAttached<BoundingBox>("BoundingBox", typeof(MapPanel));
protected IEnumerable<Control> ChildElements => Children; protected Controls ChildElements => Children;
static MapPanel() static MapPanel()
{ {