mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Removed partial declarations
This commit is contained in:
parent
96513468d8
commit
c594727711
16 changed files with 22 additions and 23 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue