Created
June 28, 2017 03:02
-
-
Save Char0394/993edc3e043abd1f667db616d3a73ff2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using FontSample.Droid.Renderers; | |
| using Xamarin.Forms; | |
| using Xamarin.Forms.Platform.Android; | |
| [assembly: ExportRenderer(typeof(Xamarin.Forms.Entry), typeof(CustomEntryRenderer))] | |
| namespace FontSample.Droid.Renderers | |
| { | |
| public class CustomEntryRenderer : EntryRenderer | |
| { | |
| protected override void OnElementChanged(ElementChangedEventArgs<Xamarin.Forms.Entry> e) | |
| { | |
| base.OnElementChanged(e); | |
| if (Control == null) | |
| return; | |
| Control.Background = null; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment