Last active
April 19, 2022 04:33
-
-
Save hilapon/e72041fd35c1e0d2f0f8f18f0c79384d to your computer and use it in GitHub Desktop.
MainPage のコードビハインド
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace MauiApp1; | |
public partial class MainPage : ContentPage { | |
int count = 0; | |
public MainPage() { | |
InitializeComponent(); | |
} | |
private void OnCounterClicked(object sender, EventArgs e) { | |
count++; | |
CounterLabel.Text = $"Current count: {count}"; | |
SemanticScreenReader.Announce(CounterLabel.Text); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment