Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 6f4fe80

Browse files
committed
Fixed XAML errors in docs.
1 parent 0dac942 commit 6f4fe80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/developer/how-viewmodels-are-turned-into-views.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class MainWindow : Window
3232
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3333
xmlns:local="clr-namespace:MyApp"
3434
Content="{Binding}">
35-
</pfui:DialogWindow>
35+
<Window>
3636

3737
```
3838

@@ -51,7 +51,7 @@ One can choose to display the `ViewModel` instance in any way we want by using a
5151

5252
<!-- Display ViewModel.Greeting in a red border with rounded corners -->
5353
<Border Background="Red" CornerRadius="8">
54-
<TextBlock Binding="{Binding Greeting}"
54+
<TextBlock Binding="{Binding Greeting}"/>
5555
</Border>
5656

5757
</DataTemplate>

0 commit comments

Comments
 (0)