allow to select a date & fix issue
This commit is contained in:
@ -3,17 +3,19 @@ using Xamarin.Forms;
|
||||
|
||||
namespace Billing.UI
|
||||
{
|
||||
public class TintImage : Image
|
||||
public class TintHelper
|
||||
{
|
||||
public static readonly BindableProperty PrimaryColorProperty = BindableProperty.Create(nameof(PrimaryColor), typeof(Color?), typeof(TintImage));
|
||||
public const string TintColor = nameof(TintColor);
|
||||
public static readonly BindableProperty TintColorProperty = BindableProperty.CreateAttached(TintColor, typeof(Color?), typeof(TintHelper), null);
|
||||
|
||||
public Color? PrimaryColor
|
||||
{
|
||||
get => (Color?)GetValue(PrimaryColorProperty);
|
||||
set => SetValue(PrimaryColorProperty, value);
|
||||
}
|
||||
public static void SetTintColor(BindableObject obj, Color? color) => obj.SetValue(TintColorProperty, color);
|
||||
public static Color? GetTintColor(BindableObject obj) => (Color?)obj.GetValue(TintColorProperty);
|
||||
}
|
||||
|
||||
public class TintImage : Image { }
|
||||
|
||||
public class TintImageButton : ImageButton { }
|
||||
|
||||
public class LongPressButton : Button
|
||||
{
|
||||
public event EventHandler LongPressed;
|
||||
|
Reference in New Issue
Block a user