Skip to content

Commit 6d26acb

Browse files
authored
wpf.md Fix MVVM Example (#51)
1 parent e5211c5 commit 6d26acb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/quickstart/wpf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ WPF applications may be created using MVVM ([Model–view–viewmodel](https://e
6161

6262
**View:** Add a `ContentControl` instead of `WpfPlot` in the layout
6363
```xml
64-
<ContentControl Content={Binding PlotControl, Mode=OneTime}/>
64+
<ContentControl Content="{Binding PlotControl, Mode=OneTime}"/>
6565
```
6666

6767
**View Model:** Add a `PlotControl` property
@@ -87,4 +87,4 @@ void Plot()
8787

8888
* Plot updates would most likely be done as a reaction to an event or modification of an other property.
8989

90-
* When to update the plot depends on your use-case. Note that rendering large amounts of data frequently may negatively impact performance.
90+
* When to update the plot depends on your use-case. Note that rendering large amounts of data frequently may negatively impact performance.

0 commit comments

Comments
 (0)