I want to be able to change the background color
of the Entry field
once data has been entered, so it would need to constantly check if the field is empty, but the code won't work for me as in the app doens't function and no button will work on it, "Name" is the name set on the Entry field
in the XAML file
.
public void BackgroundColourEntry()
{
while (true)
{
if (Name.Text != "" && ClientName.Text != null)
{
Name.BackgroundColor = Color.FromHex("#2c3e50");
}
}
}