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), […]

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), […]

2020.09.01.

Xamarin.Forms – ListView – CustomTextCell

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: CustomTextCell ( https://github.com/officialdoniald/Xamarin.Forms.CustomControls/blob/master/XamarinForms.CustomControls/XamarinForms.CustomControls/ListView/CustomTextCell.cs ). using Xamarin.Forms; namespace XamarinForms.CustomControls.ListView { public class CustomTextCell : TextCell { public static readonly BindableProperty TextFontSizeProperty = BindableProperty.Create(“TextFontSize”, […]

2020.09.01.

Xamarin.Forms – NavigationPage Horizontal Alignment Center Title on Android

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: CustomNavigationPage ( https://github.com/officialdoniald/Xamarin.Forms.CustomControls/blob/master/XamarinForms.CustomControls/XamarinForms.CustomControls/NavigationPage/CustomNavigationPage.cs ). using Xamarin.Forms; using XamarinForms.CustomControls.Enums; namespace XamarinForms.CustomControls.NavigationPage { public class CustomNavigationPage : Xamarin.Forms.NavigationPage { public CustomNavigationPage() : base() { […]

2020.09.01.

XamarinClearCookies

With this Package you can clear all applicaion’s cookies. So if you are already logged in with your social media account you can simply log out with this. NOTE: This NuGetPackage will create 2 other folders: iOS and Droid. These two folders you have to move to the each Platform’s project like this: Droid/ClearCookies folder -> <your_project_name>.Droid iOS/ClearCookies folder -> <your_project_name>.iOS Usage: bool success = […]

2020.09.01.

Xamarin.Forms.AzureEasyTable NuGetPackage

With this Package, you can use the essential database functions with your Azure Easy Tables. You don’t have to write all of your Tables all functions, just create the Model of your Table with a string id and give it to the functions.What should we do?Step Zero: we must create an Azure Easy Table.First step: we have to download Xamarin.Azure.EasyTableFunctions this NuGetPackage.Than we must create […]

2020.09.01.

Xamarin.Forms working with files

We need always to working with files. In this sample, we will discuss about how can I create files and load from files. We have to first download a NuGet package: Xamarin.Forms.Portable.FileStoreAndLoad. After it finished, we have to separate the created folders like this: UWP -> Yourapplication.UWP Droid -> Yourapplication.Droid iOS -> Yourapplication.iOS After that we can create files and load from files via Dependency […]

2020.09.01.

Xamarin.Forms Http Basic Authentication

What is Http Basic Authentication? It means, that when we use an HTTPRequest GET method with some Credentials, and we wanted to earn a website trough this, but the website is protected with username and password combination. We have to download a NuGet package, its call HTTPBasicAuthentication. When we downloaded it, we have a new folder: HTTPBasicAuthentication. In this folder we can see how I […]

2020.09.01.

Xamarin.Forms Binding in C#

What is Binding actually? For example, we have an application and it’s communicate with a database. So it’s store and query data from the db. And if it display a List (and the List depends on the user’s data [name,age]) and it don’t know what should it display. So we make a database query and we give it to a List and it will display […]