diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-02 14:55:43 -0600 |
---|---|---|
committer | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-02 14:55:43 -0600 |
commit | 93f22aaf28a3580b19559a793e2a3e6cd91b9bdb (patch) | |
tree | 6d8dfc9e36a7e3715cf3790d58268c27483d289c /Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs | |
parent | 2231302a182c9adff088fff3580791e2e0794336 (diff) | |
download | xamarin-forms-93f22aaf28a3580b19559a793e2a3e6cd91b9bdb.tar.gz xamarin-forms-93f22aaf28a3580b19559a793e2a3e6cd91b9bdb.tar.bz2 xamarin-forms-93f22aaf28a3580b19559a793e2a3e6cd91b9bdb.zip |
Prep SearchBar for removal of InternalsVisibleTo (#137)
Diffstat (limited to 'Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs b/Xamarin.Forms.Platform.UAP/SearchBarRenderer.cs index 6ec13e1b..04e1058a 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) |