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.Core/SearchBar.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.Core/SearchBar.cs')
-rw-r--r-- | Xamarin.Forms.Core/SearchBar.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/SearchBar.cs b/Xamarin.Forms.Core/SearchBar.cs index f3d51611..40bf2502 100644 --- a/Xamarin.Forms.Core/SearchBar.cs +++ b/Xamarin.Forms.Core/SearchBar.cs @@ -5,7 +5,7 @@ using Xamarin.Forms.Platform; namespace Xamarin.Forms { [RenderWith(typeof(_SearchBarRenderer))] - public class SearchBar : View, IFontElement + public class SearchBar : View, IFontElement, ISearchBarController { public static readonly BindableProperty SearchCommandProperty = BindableProperty.Create("SearchCommand", typeof(ICommand), typeof(SearchBar), null, propertyChanged: OnCommandChanged); @@ -113,7 +113,7 @@ namespace Xamarin.Forms public event EventHandler<TextChangedEventArgs> TextChanged; - internal void OnSearchButtonPressed() + void ISearchBarController.OnSearchButtonPressed() { ICommand cmd = SearchCommand; |