summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/ProgressBarRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/ProgressBarRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/ProgressBarRenderer.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/ProgressBarRenderer.cs b/Xamarin.Forms.Platform.WinRT/ProgressBarRenderer.cs
index 87f1e35e..b805b2f6 100644
--- a/Xamarin.Forms.Platform.WinRT/ProgressBarRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/ProgressBarRenderer.cs
@@ -1,5 +1,6 @@
using System.ComponentModel;
using Windows.UI.Xaml.Controls.Primitives;
+using Xamarin.Forms.Internals;
#if WINDOWS_UWP
@@ -53,7 +54,7 @@ namespace Xamarin.Forms.Platform.WinRT
void ProgressBarOnValueChanged(object sender, RangeBaseValueChangedEventArgs rangeBaseValueChangedEventArgs)
{
- Element?.InvalidateMeasure(InvalidationTrigger.MeasureChanged);
+ ((IVisualElementController)Element)?.InvalidateMeasure(InvalidationTrigger.MeasureChanged);
}
}
} \ No newline at end of file