I have a custom bordered entry and I want to change its color by clicking the button and it's not up

Hello can anyone help me?

I have a custom bordered entry and I want to change its color by clicking the button and it's not updating

here I change the color the color I want to get here but the set doesn't change the color

public class CustomEntry : Entry
{
public static readonly BindableProperty BorderColorProperty =
BindableProperty.Create(nameof(BorderColor),
typeof(Color), typeof(CustomEntry), Color.Gray);
// Gets or sets BorderColor value
public Color BorderColor
{
get => (Color)GetValue(BorderColorProperty);
set => SetValue(BorderColorProperty, value);
}
}

Best Answer

Answers

  • anderson_Smauganderson_Smaug Member ✭✭

    Thank you really I had not put the "OnElementPropertyChanged"

Sign In or Register to comment.