Removed partial declarations

This commit is contained in:
ClemensFischer 2025-11-14 23:59:24 +01:00
parent 96513468d8
commit c594727711
16 changed files with 22 additions and 23 deletions

View file

@ -1,5 +1,4 @@
using System.Linq;
#if WPF
#if WPF
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
@ -177,7 +176,7 @@ namespace MapControl
{
availableSize = new Size(double.PositiveInfinity, double.PositiveInfinity);
foreach (var element in Children.Cast<FrameworkElement>())
foreach (FrameworkElement element in Children)
{
element.Measure(availableSize);
}
@ -189,7 +188,7 @@ namespace MapControl
{
if (parentMap != null)
{
foreach (var element in Children.Cast<FrameworkElement>())
foreach (FrameworkElement element in Children)
{
ArrangeChildElement(element, finalSize);
}