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.WP8 | |
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.WP8')
-rw-r--r-- | Xamarin.Forms.Platform.WP8/SearchBarRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WP8/SearchBarRenderer.cs b/Xamarin.Forms.Platform.WP8/SearchBarRenderer.cs index b27851a8..a71041da 100644 --- a/Xamarin.Forms.Platform.WP8/SearchBarRenderer.cs +++ b/Xamarin.Forms.Platform.WP8/SearchBarRenderer.cs @@ -68,7 +68,7 @@ namespace Xamarin.Forms.Platform.WinPhone void PhoneTextBoxOnKeyUp(object sender, KeyEventArgs keyEventArgs) { if (keyEventArgs.Key == Key.Enter) - Element.OnSearchButtonPressed(); + ((ISearchBarController)Element).OnSearchButtonPressed(); } void PhoneTextBoxOnTextChanged(object sender, System.Windows.Controls.TextChangedEventArgs textChangedEventArgs) |