Skip to content

Commit adb6751

Browse files
authored
Update main-window.mdx (docs/get-started/test-drive/main-window#the-mainwindow-content) (#635)
* Update main-window.mdx MainViewModel -> MainWindowViewModel * Update main-window.mdx * Update main-window.mdx
1 parent d7959c8 commit adb6751

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/get-started/test-drive/main-window.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ Inside the Windows Content, you will see a `<TextBlock>...</TextBlock>` XAML tag
3030
`Text` to the screen. The `Text` property of the `TextBlock` is bound to the **Greeting** property of
3131
the **MainViewModel** class.
3232

33+
:::note
34+
The class name may appear as either:
35+
- `MainViewModel`
36+
- `MainWindowViewModel`
37+
38+
Check which template your project uses to confirm the correct name.
39+
:::
40+
3341
```xml title='XAML'
3442
<TextBlock Text="{Binding Greeting}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
3543
```

0 commit comments

Comments
 (0)