Skip to content

Commit

Permalink
Reorg Proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen authored and TJ Lambert committed Feb 21, 2023
1 parent 2183145 commit 736578d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 14 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Maui.Controls
/// <summary>
/// Entry is a single line text entry. It is best used for collecting small discrete pieces of information, like usernames and passwords.
/// </summary>
public partial class Entry : InputView, IFontElement, ITextAlignmentElement, IEntryController, IElementConfiguration<Entry>
public partial class Entry : InputView, IFontElement, ITextAlignmentElement, IEntryController, IElementConfiguration<Entry>, IEntry
{
/// <summary>
/// Backing store for the <see cref="ReturnType"/> property.
Expand Down Expand Up @@ -299,5 +299,12 @@ public IPlatformElementConfiguration<T, Entry> On<T>() where T : IConfigPlatform
void ITextAlignmentElement.OnHorizontalTextAlignmentPropertyChanged(TextAlignment oldValue, TextAlignment newValue)
{
}

Font ITextStyle.Font => this.ToFont();

void IEntry.Completed()
{
(this as IEntryController).SendCompleted();
}
}
}
File renamed without changes.
13 changes: 0 additions & 13 deletions src/Controls/src/Core/HandlerImpl/Entry/Entry.Impl.cs

This file was deleted.

0 comments on commit 736578d

Please sign in to comment.