From ac783e63df5387c76a06ccaaa9206af9997f8d08 Mon Sep 17 00:00:00 2001 From: Pavel Yakovlev Date: Wed, 1 May 2019 18:03:30 +0300 Subject: [PATCH] [UWP] fix ListView renderer (#5144) --- Xamarin.Forms.Core/PlatformConfiguration/WindowsSpecific/ListView.cs | 2 +- Xamarin.Forms.Platform.UAP/ListViewRenderer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Xamarin.Forms.Core/PlatformConfiguration/WindowsSpecific/ListView.cs b/Xamarin.Forms.Core/PlatformConfiguration/WindowsSpecific/ListView.cs index d7ad203..372cc3f 100644 --- a/Xamarin.Forms.Core/PlatformConfiguration/WindowsSpecific/ListView.cs +++ b/Xamarin.Forms.Core/PlatformConfiguration/WindowsSpecific/ListView.cs @@ -9,7 +9,7 @@ namespace Xamarin.Forms.PlatformConfiguration.WindowsSpecific #region SelectionMode public static readonly BindableProperty SelectionModeProperty = - BindableProperty.CreateAttached("SelectionMode", typeof(ListViewSelectionMode), + BindableProperty.CreateAttached("WindowsSelectionMode", typeof(ListViewSelectionMode), typeof(ListView), ListViewSelectionMode.Accessible); public static ListViewSelectionMode GetSelectionMode(BindableObject element) diff --git a/Xamarin.Forms.Platform.UAP/ListViewRenderer.cs b/Xamarin.Forms.Platform.UAP/ListViewRenderer.cs index 0387d47..bb5534d 100644 --- a/Xamarin.Forms.Platform.UAP/ListViewRenderer.cs +++ b/Xamarin.Forms.Platform.UAP/ListViewRenderer.cs @@ -231,7 +231,7 @@ namespace Xamarin.Forms.Platform.UWP { ClearSizeEstimate(); } - else if (e.PropertyName == Specifics.SelectionModeProperty.PropertyName) + else if (e.PropertyName == ListView.SelectionModeProperty.PropertyName) { UpdateSelectionMode(); } -- 2.7.4