diff options
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT.Phone')
-rw-r--r-- | Xamarin.Forms.Platform.WinRT.Phone/SearchBarRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT.Phone/SearchBarRenderer.cs b/Xamarin.Forms.Platform.WinRT.Phone/SearchBarRenderer.cs index 33bd782f..c6bf7af8 100644 --- a/Xamarin.Forms.Platform.WinRT.Phone/SearchBarRenderer.cs +++ b/Xamarin.Forms.Platform.WinRT.Phone/SearchBarRenderer.cs @@ -59,7 +59,7 @@ namespace Xamarin.Forms.Platform.WinRT void OnQuerySubmitted (SearchBox sender, SearchBoxQuerySubmittedEventArgs e) { - Element.OnSearchButtonPressed (); + ((ISearchBarController)Element).OnSearchButtonPressed (); } void UpdatePlaceholder () |