Tag: borderwidth

2020.09.01.

Xamarin.Forms – CustomEntry (BorderWidth, BorderColor and TextPadding)

This project, you can find at: https://github.com/officialdoniald/Xamarin.Forms.CustomControls We have to create some platforms specific code (custom NavigationPage Renderer), because in the base Xamarin.Forms code, we can’t find this implementation. So first step, we have to create a class in the .NET Standard/PCL project: CustomEntry ( https://github.com/officialdoniald/Xamarin.Forms.CustomControls/blob/master/XamarinForms.CustomControls/XamarinForms.CustomControls/Entry/CustomEntry.cs ). using Xamarin.Forms; namespace XamarinForms.CustomControls.Entry { public class CustomEntry : Xamarin.Forms.Entry { public static readonly BindableProperty BorderColorProperty = BindableProperty.Create(nameof(BorderColor), […]