diff --git a/AutoSuggestBox/Extensions/AutoSuggestBoxViewExtensions.cs b/AutoSuggestBox/Extensions/AutoSuggestBoxViewExtensions.cs
deleted file mode 100644
index 18dbf31..0000000
--- a/AutoSuggestBox/Extensions/AutoSuggestBoxViewExtensions.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Maui.AutoSuggestBox.Extensions;
-
-
-///
-/// Extension methods to support
-///
-public static class AutoSuggestBoxViewExtensions
-{
- ///
- /// Set LineWidth
- ///
- ///
- /// line width
- public static void SetLineWidth(this IAutoSuggestBox autosuggestBoxView, int textLength)
- {
- //autosuggestBoxView.LineWidth = textLength;
- }
-}
diff --git a/AutoSuggestBox/Handlers/AutoSuggestBoxHandler.Android.cs b/AutoSuggestBox/Handlers/AutoSuggestBoxHandler.Android.cs
index 926a8ee..dd4f9aa 100644
--- a/AutoSuggestBox/Handlers/AutoSuggestBoxHandler.Android.cs
+++ b/AutoSuggestBox/Handlers/AutoSuggestBoxHandler.Android.cs
@@ -89,56 +89,29 @@ public static void MapItemsSource(AutoSuggestBoxHandler handler, IAutoSuggestBox
private void UpdateTextColor(AutoSuggestBoxView platformView)
{
var color = VirtualView?.TextColor;
-#if NETFX_CORE
- Control.Foreground = new Windows.UI.Xaml.Media.SolidColorBrush(Windows.UI.Color.FromArgb((byte)(color.A * 255), (byte)(color.R * 255), (byte)(color.G * 255), (byte)(color.B * 255)));
-#elif __ANDROID__ || __IOS__
platformView.SetTextColor(color.ToPlatform());
-#endif
}
private void UpdatePlaceholderTextColor(AutoSuggestBoxView platformView)
{
var placeholderColor = VirtualView?.PlaceholderTextColor;
-#if NETFX_CORE
- // Not currently supported by UWP's control
- // UpdateColor(placeholderColor, ref _placeholderDefaultBrush,
- // () => Control.PlaceholderForegroundBrush, brush => Control.PlaceholderForegroundBrush = brush);
- // UpdateColor(placeholderColor, ref _defaultPlaceholderColorFocusBrush,
- // () => Control.PlaceholderForegroundFocusBrush, brush => Control.PlaceholderForegroundFocusBrush = brush);
-#elif __ANDROID__ || __IOS__
platformView.SetPlaceholderTextColor(placeholderColor);
-#endif
}
private void UpdateDisplayMemberPath(AutoSuggestBoxHandler handler, IAutoSuggestBox view)
{
-#if NETFX_CORE
- Control.DisplayMemberPath = Element.DisplayMemberPath;
-#elif __ANDROID__ || __IOS__
handler.PlatformView.SetItems(view ?.ItemsSource?.OfType