Skip to content

Commit a17286e

Browse files
Update hub/apps/windows-dotnet-maui/walkthrough-first-app.md
Co-authored-by: Copilot <[email protected]>
1 parent b046c6c commit a17286e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub/apps/windows-dotnet-maui/walkthrough-first-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Now that you have your first .NET MAUI app running on Windows, let's add some MV
113113

114114
1. Open the **MainPage.xaml.cs** file for editing and remove the `OnCounterClicked` method and the `count` field.
115115

116-
1. Add the following code to the `MainPage` constructor after the call to `InitializeComponenent()`. This code will receive the message sent by `IncrementCounter()` in the `MainViewModel` and will update the `CounterBtn.Text` property with the new message and announce the new text with the `SemanticScreenReader`:
116+
1. Add the following code to the `MainPage` constructor after the call to `InitializeComponent()`. This code will receive the message sent by `IncrementCounter()` in the `MainViewModel` and will update the `CounterBtn.Text` property with the new message and announce the new text with the `SemanticScreenReader`:
117117

118118
``` csharp
119119
WeakReferenceMessenger.Default.Register<CountChangedMessage>(this, (r, m) =>

0 commit comments

Comments
 (0)