Sample Code: Step 1: Create a class StepProgressBar.cs Step 2: Paste the below code. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; namespace Xamarin.Custom.Controls { public class StepProgressBar : StackLayout { Color blueColor = Color.FromHex("#009DD9"); Color redColor = Color.FromHex("#e21836"); Color grayColor = Color.FromHex("#dbdcdd"); Color whiteColor = Color.White; Color blackColor = Color.Black; public static readonly BindableProperty StepBarProperty = BindableProperty.Create(nameof(StepBar), typeof(StepProgressDTO), typeof(StepProgressBar), null, defaultBindingMode: BindingMode.TwoWay); public StepProgressDTO StepBar { get { return (StepProgressDTO)GetValue(StepBarProperty); } set { SetValue(StepBarProperty, value); } } public StepProgressBar() { Orientation
Sample Code: Step 1: Create a class StepProgressBar.cs Step 2: Paste the below code. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; namespace Xamarin.Custom.Controls { public class StepProgressBar : StackLayout { Color blueColor = Color.FromHex("#009DD9"); Color redColor = Color.FromHex("#e21836"); Color grayColor = Color.FromHex("#dbdcdd"); Color whiteColor = Color.White; Color blackColor = Color.Black; public static readonly BindableProperty StepBarProperty = BindableProperty.Create(nameof(StepBar), typeof(StepProgressDTO), typeof(StepProgressBar), null, defaultBindingMode: BindingMode.TwoWay); public StepProgressDTO StepBar { get { return (StepProgressDTO)GetValue(StepBarProperty); } set { SetValue(StepBarProperty, value); } } public StepProgressBar() { Orientation