diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-04-27 05:55:09 -0600 |
---|---|---|
committer | kingces95 <kingces95@users.noreply.github.com> | 2016-04-27 07:55:09 -0400 |
commit | 2d9288eee6e6f197364a64308183725e7bd561f9 (patch) | |
tree | 82d3e0403429f62c9a1b036ee4d57cc0faf2f0e0 /Xamarin.Forms.Core | |
parent | 35eea1dc77b6dd4f583b6b3a5231845b7165d5b3 (diff) | |
download | xamarin-forms-2d9288eee6e6f197364a64308183725e7bd561f9.tar.gz xamarin-forms-2d9288eee6e6f197364a64308183725e7bd561f9.tar.bz2 xamarin-forms-2d9288eee6e6f197364a64308183725e7bd561f9.zip |
Prep Entry for removal of InternalsVisibleTo (#139)
* Prep Entry control for removal of InternalsVisibleTo
* Update docs
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r-- | Xamarin.Forms.Core/Entry.cs | 4 | ||||
-rw-r--r-- | Xamarin.Forms.Core/IEntryController.cs | 7 | ||||
-rw-r--r-- | Xamarin.Forms.Core/Xamarin.Forms.Core.csproj | 1 |
3 files changed, 10 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/Entry.cs b/Xamarin.Forms.Core/Entry.cs index ef10e963..1ee2f856 100644 --- a/Xamarin.Forms.Core/Entry.cs +++ b/Xamarin.Forms.Core/Entry.cs @@ -4,7 +4,7 @@ using Xamarin.Forms.Platform; namespace Xamarin.Forms { [RenderWith(typeof(_EntryRenderer))] - public class Entry : InputView, IFontElement + public class Entry : InputView, IFontElement, IEntryController { public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create("Placeholder", typeof(string), typeof(Entry), default(string)); @@ -84,7 +84,7 @@ namespace Xamarin.Forms public event EventHandler<TextChangedEventArgs> TextChanged; - internal void SendCompleted() + void IEntryController.SendCompleted() { Completed?.Invoke(this, EventArgs.Empty); } diff --git a/Xamarin.Forms.Core/IEntryController.cs b/Xamarin.Forms.Core/IEntryController.cs new file mode 100644 index 00000000..4db63384 --- /dev/null +++ b/Xamarin.Forms.Core/IEntryController.cs @@ -0,0 +1,7 @@ +namespace Xamarin.Forms +{ + public interface IEntryController + { + void SendCompleted(); + } +}
\ No newline at end of file diff --git a/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj b/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj index dbd109a6..77503f83 100644 --- a/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj +++ b/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj @@ -92,6 +92,7 @@ <Compile Include="ElementEventArgs.cs" /> <Compile Include="ElementTemplate.cs" /> <Compile Include="EmailKeyboard.cs" /> + <Compile Include="IEntryController.cs" /> <Compile Include="Internals\EvalRequested.cs" /> <Compile Include="ExportEffectAttribute.cs" /> <Compile Include="ExpressionSearch.cs" /> |