+ 1
what does this code make?
Hello, today I wanted to learn xamarin, so I watched this video on https://docs.microsoft.com/de-de/xamarin/get-started/first-app/?pivots=win-vs2017, but I dont get the code at 3:34 - 3:53 this here: ((button)sender) can someone please explain how this line works, and why it can't be written like in wpf like this: xaml code: <Button x:Name="hi" Clicked="Button_Clicked"/> C# code: private void Button_Clicked(object sender, EventArgs e) { count++; hi.Content = count; } thanks for answers
1 Resposta
+ 1
I think a button with a dynamic caption indicating the count..
.🤔