Showing posts with label CustomRenderers. Show all posts
Showing posts with label CustomRenderers. Show all posts

Saturday, 13 October 2018

How to change ListView SelectedItem Bg Color in Xamarin.Forms

Introduction

This article describes how we can change ListView SelectedItem bg color in Xamarin.Forms. Sometimes we may need to set different bg color for ListView selected item, So in this article, we can learn how to achieve this functionality using CustomRenderer.

Saturday, 26 May 2018

How to disable copy, cut and paste options for Entry text in Xamarin.Forms

Introduction 
Sometimes for security reasons, we need to restrict the copy, cut and paste clipboard options for Entry in our app. For example adding payee through Online Banking and while entering passwords. So, in this article we can learn how to disable those options for Entry using CustomRenderers concept in Xamarin.Forms.
In my previous article explained Copy and Paste using Clipboard in Xamarin.Forms.

Monday, 14 May 2018

Xamarin.Forms MVVM: How to set Icon, TitleColor, BorderStyle, ItemsSource for Picker using CustomRenderer

Introduction

In Xamarin.Forms, Picker creation and assigning ItemsSource very simple But there is no direct way set right side down Icon like iOS, Android native, TitleColor, BorderColor. So in this article, we will learn how to set those properties for Picker using CustomRenderer.

Wednesday, 4 April 2018

DatePicker Placeholder & Border Style using CustomRenderer

Introduction
In Xamarin.Forms there is no Placeholder,  BorderRadius, BorderColor, BorderWidth for DatePicker Control. So in this article, we can learn how to set those properties for DatePicker using CustomRenderer.

Wednesday, 21 March 2018

Circle Image in Xamarin.Forms using CustomRenderer

Introduction
Circular images in apps are nowadays very popular in-app development. Most of the applications we need to make user profile as circle image e.t.c. So in this article, we can learn how to make Image circle using CustomRenderer.

Circle Image in Xamarin.Forms

Introduction 
Circular images in apps are nowadays very popular in-app development. Most of the applications we need to make user profile as circle image e.t.c. So in this article, we can learn how to make Image circle using Xam.Plugins.Forms.ImageCircle.
If you want to make Image Circle without plugin follow my previous article.

Tuesday, 20 March 2018

Horizontal and Vertical Gradient Color in Xamarin.Forms

Introduction

Sometimes, we may get the requirement to set Gradient Color for Layout or page. In this article, we can learn how we can set a Gradient Color for Layout or Page using CustomRenderer.

Saturday, 23 December 2017

Time Picker as 24 Hours Format in Xamarin.Forms

Introduction

This article describes how we can set 24h format for TimePicker Control. Sometimes we may get the requirement to set 24h for TimePicker, So in this article, we can learn how to achieve this functionality using CustomRenderer.

Saturday, 9 December 2017

How to set Corner Radius for View, Layout, Cell (Grid, Stack, ListView) in Xamarin.Forms

Introduction

This article describes how we can set Corner Radius for Control or View or Layout. Sometimes we may get the requirement to set corner radius for StackLayout or Grid or ListView in that cases earlier I tried to put View or Layout inside the Frame to make the corner radius, but it is difficult to set all corner properties. So in this article, we can learn how to achieve this functionality using CustomRenderer.