XAML-Map-Control/MapControl/WinUI/MapItemsControl.WinUI.cs
2024-05-22 11:25:32 +02:00

27 lines
623 B
C#

// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control
// Copyright © 2024 Clemens Fischer
// Licensed under the Microsoft Public License (Ms-PL)
#if UWP
using Windows.UI.Xaml;
#else
using Microsoft.UI.Xaml;
#endif
namespace MapControl
{
public partial class MapItemsControl
{
public MapItemsControl()
{
DefaultStyleKey = typeof(MapItemsControl);
MapPanel.InitMapElement(this);
}
public new FrameworkElement ContainerFromItem(object item)
{
return (FrameworkElement)base.ContainerFromItem(item);
}
}
}