ContentPage Customization using Xamarin.Forms

Table of Content 1. Introduction 2. Creating a ContentPage in Xamarin.Forms 3. Consuming the ContentPage from Xamarin.Forms 4. Creating a Custom Renderer for every platform 5. Conclusion Introduction ContentPage is the simplest and most common page among all the types of pages available in XamarinForms. It is mostly used to display only a single view that can be StackLayout or GridLayout or ScrollLayout. It is a visual element of the page and occupies most of the...

read more

Custom Radio button with Xamarin. Forms 5

Table of Content 1. Introduction 2. Create RadioButtons 3. Display string-based content 4. Associate values with RadioButtons 5. Group Radio Buttons 6. Respond to RadioButton state changes 7. Respond to a property change 8. Control Template 9. Conclusion Introduction A radio button is a type of selection control that allows users to choose one option from a set of options. There is no default RadioButton control in Xamarin. Forms, so we must build...

read more

All about Command Interface in Xamarin Form

To use the command interface, you can specify a data binding that targets the Command property of Button where the source is a property in the ICommand type ViewModel. The ViewModel contains code related to the ICommand property that is implemented when the button is clicked. You can set CommandParameter to arbitrary data for the difference between multiple buttons if they are bound to the same ICommand property in all ViewModel. Sometimes the View needs to include buttons that trigger...

read more

What is basic binding in Xamarin Forms?

Table of Content 1. Introduction 2. Binding with a Binding Context 3. Binding Without Binding Context 4. Binding Context Inheritance 5. Conclusion Introduction In Xamarin.Forms, data binding connects two objects, at least one of which is usually a user-interface object, via a pair of properties. The target and the source are the two objects in query: The object (and attribute) on which data binding is enabled is the target. The object (and...

read more

What is ListView and customize a ListView in Xamarin.Forms

Table of Content 1. What is ListView? 2. Components 3. Customizing ListView 4. Creating the Custom Renderer on each Platform 5. Conclusion What is ListView? A ListView control can be used to display scrollable lists of data in any context. Context actions and data binding are supported by the ListView class. Components Headers and footers: The header and footer components appear at the top and bottom of a list, distinct...

read more