From 5ad567239c531ea737f53a24b05e04b428615e4a Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Thu, 11 Apr 2024 15:23:58 +0200 Subject: [PATCH] TypeConverter useless for WinUI --- MapControl/Shared/MapPolygon.cs | 2 +- MapControl/Shared/MapPolyline.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MapControl/Shared/MapPolygon.cs b/MapControl/Shared/MapPolygon.cs index 1e34b3ed..04232d26 100644 --- a/MapControl/Shared/MapPolygon.cs +++ b/MapControl/Shared/MapPolygon.cs @@ -32,7 +32,7 @@ namespace MapControl /// /// Gets or sets the Locations that define the polygon points. /// -#if !UWP +#if !WINUI && !UWP [System.ComponentModel.TypeConverter(typeof(LocationCollectionConverter))] #endif public IEnumerable Locations diff --git a/MapControl/Shared/MapPolyline.cs b/MapControl/Shared/MapPolyline.cs index 7a6f22df..7a5fb6fe 100644 --- a/MapControl/Shared/MapPolyline.cs +++ b/MapControl/Shared/MapPolyline.cs @@ -32,7 +32,7 @@ namespace MapControl /// /// Gets or sets the Locations that define the polyline points. /// -#if !UWP +#if !WINUI && !UWP [System.ComponentModel.TypeConverter(typeof(LocationCollectionConverter))] #endif public IEnumerable Locations