summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.UAP
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-05-02 20:55:43 (GMT)
committerE.Z. Hart <hartez@users.noreply.github.com>2016-05-02 20:55:43 (GMT)
commit93f22aaf28a3580b19559a793e2a3e6cd91b9bdb (patch)
tree6d8dfc9e36a7e3715cf3790d58268c27483d289c /Xamarin.Forms.Platform.UAP
parent2231302a182c9adff088fff3580791e2e0794336 (diff)
downloadxamarin-forms-93f22aaf28a3580b19559a793e2a3e6cd91b9bdb.zip
xamarin-forms-93f22aaf28a3580b19559a793e2a3e6cd91b9bdb.tar.gz
xamarin-forms-93f22aaf28a3580b19559a793e2a3e6cd91b9bdb.tar.bz2
Prep SearchBar for removal of InternalsVisibleTo (#137)
Diffstat (limited to 'Xamarin.Forms.Platform.UAP')
-rw-r--r--Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs b/Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs
index 6ec13e1..04e1058 100644
--- a/Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs
+++ b/Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs
@@ -75,7 +75,7 @@ namespace Xamarin.Forms.Platform.UWP
void OnQuerySubmitted(AutoSuggestBox sender, AutoSuggestBoxQuerySubmittedEventArgs e)
{
- Element.OnSearchButtonPressed();
+ ((ISearchBarController)Element).OnSearchButtonPressed();
}
void OnTextChanged(AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs e)