2021-10-08 14:47:40 +02:00
|
|
|
|
using Xamarin.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Bit.App.Controls
|
|
|
|
|
{
|
|
|
|
|
public class ExtendedStepper : Stepper
|
|
|
|
|
{
|
|
|
|
|
public static readonly BindableProperty StepperBackgroundColorProperty = BindableProperty.Create(
|
|
|
|
|
nameof(StepperBackgroundColor), typeof(Color), typeof(ExtendedStepper), Color.Default);
|
2022-04-26 17:21:17 +02:00
|
|
|
|
|
2021-10-08 14:47:40 +02:00
|
|
|
|
public static readonly BindableProperty StepperForegroundColorProperty = BindableProperty.Create(
|
|
|
|
|
nameof(StepperForegroundColor), typeof(Color), typeof(ExtendedStepper), Color.Default);
|
|
|
|
|
|
|
|
|
|
public Color StepperBackgroundColor
|
|
|
|
|
{
|
|
|
|
|
get => (Color)GetValue(StepperBackgroundColorProperty);
|
|
|
|
|
set => SetValue(StepperBackgroundColorProperty, value);
|
|
|
|
|
}
|
2022-04-26 17:21:17 +02:00
|
|
|
|
|
2021-10-08 14:47:40 +02:00
|
|
|
|
public Color StepperForegroundColor
|
|
|
|
|
{
|
|
|
|
|
get => (Color)GetValue(StepperForegroundColorProperty);
|
|
|
|
|
set => SetValue(StepperForegroundColorProperty, value);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|