0
I have a GridView
with multiple numbers and I have a click event on the items in this GridView
.
I would like the items that have already been clicked to change the background and text colors to show the user that they have already been clicked.
If possible disable for future clicks.
The event is this:
private void dataGridNumbers_Tapped(object sender, TappedRoutedEventArgs e)
{
string selectedNumber = dataGridNumbers.SelectedItem.ToString();
if (selectedNumber == resposta)
{
txtBoxInfo.Text = "Congratulations! You Find the Ramdon Number!";
}
if (selectedNumber != resposta)
{
numbersCloser(Int32.Parse(selectedNumber));
}
}
Sorry, I’m in Mexico and had asked the question on the stack in Spanish and did not answer me anything useful! My keyboard is Spanish and does not have all characters to write well in Portuguese.
– Tiago David Furtado
I am creating to publish in the tent of Windows 10, is not Asp.net!
– Tiago David Furtado
Spanish keyboards have all the accents that Portuguese uses.
– Oralista de Sistemas