From: Chris King Date: Tue, 14 Feb 2017 22:05:47 +0000 (-0800) Subject: IEditorController X-Git-Tag: submit/tizen/20170424.094440~270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68eb31b09ac4f6471457626c0355c6d68a03ab88;p=platform%2Fupstream%2Fxamarin-forms.git IEditorController --- diff --git a/Xamarin.Forms.Core/Editor.cs b/Xamarin.Forms.Core/Editor.cs index 26c6fd4..019f6e8 100644 --- a/Xamarin.Forms.Core/Editor.cs +++ b/Xamarin.Forms.Core/Editor.cs @@ -4,7 +4,7 @@ using Xamarin.Forms.Platform; namespace Xamarin.Forms { [RenderWith(typeof(_EditorRenderer))] - public class Editor : InputView, IFontElement, IElementConfiguration + public class Editor : InputView, IEditorController, IFontElement, IElementConfiguration { public static readonly BindableProperty TextProperty = BindableProperty.Create("Text", typeof(string), typeof(Editor), null, BindingMode.TwoWay, propertyChanged: (bindable, oldValue, newValue) => { @@ -68,6 +68,7 @@ namespace Xamarin.Forms return _platformConfigurationRegistry.Value.On(); } + void IEditorController.SendCompleted() => SendCompleted(); internal void SendCompleted() { EventHandler handler = Completed; diff --git a/Xamarin.Forms.Core/IEditorController.cs b/Xamarin.Forms.Core/IEditorController.cs new file mode 100644 index 0000000..5fdbe50 --- /dev/null +++ b/Xamarin.Forms.Core/IEditorController.cs @@ -0,0 +1,7 @@ +namespace Xamarin.Forms +{ + public interface IEditorController : IViewController + { + 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 f1b7f6f..944309f 100644 --- a/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj +++ b/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj @@ -87,6 +87,7 @@ +