Tag: searchbar

2020.09.01.

Xamarin.Forms – CustomSearchBar

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: CustomSearchBar ( https://github.com/officialdoniald/Xamarin.Forms.CustomControls/blob/master/XamarinForms.CustomControls/XamarinForms.CustomControls/SearchBar/CustomSearchBar.cs ). using Xamarin.Forms; namespace XamarinForms.CustomControls.SearchBar { public class CustomSearchBar : Xamarin.Forms.SearchBar { public static readonly BindableProperty BorderColorProperty = BindableProperty.Create(nameof(BorderColor), […]