mirror of
https://github.com/bitwarden/android.git
synced 2026-05-23 22:51:40 -05:00
28 lines
987 B
C#
28 lines
987 B
C#
using Microsoft.Maui.Graphics;
|
|
using Microsoft.Maui.Controls;
|
|
using Microsoft.Maui;
|
|
|
|
namespace Bit.App.Controls
|
|
{
|
|
public class ExtendedStepper : Stepper
|
|
{
|
|
public static readonly BindableProperty StepperBackgroundColorProperty = BindableProperty.Create(
|
|
nameof(StepperBackgroundColor), typeof(Color), typeof(ExtendedStepper), Colors.White);
|
|
|
|
public static readonly BindableProperty StepperForegroundColorProperty = BindableProperty.Create(
|
|
nameof(StepperForegroundColor), typeof(Color), typeof(ExtendedStepper), Colors.Black);
|
|
|
|
public Color StepperBackgroundColor
|
|
{
|
|
get => (Color)GetValue(StepperBackgroundColorProperty);
|
|
set => SetValue(StepperBackgroundColorProperty, value);
|
|
}
|
|
|
|
public Color StepperForegroundColor
|
|
{
|
|
get => (Color)GetValue(StepperForegroundColorProperty);
|
|
set => SetValue(StepperForegroundColorProperty, value);
|
|
}
|
|
}
|
|
}
|