Skip to content

Commit 61e2588

Browse files
committed
Update wpf.md
1 parent 534fc62 commit 61e2588

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/quickstart/wpf.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ WPF applications may be created using MVVM ([Model–view–viewmodel](https://e
6464
<ContentControl Content={Binding PlotControl, Mode=OneTime}/>
6565
```
6666

67-
**View Model:** Add a `PlotControl` property to the view model
67+
**View Model:** Add a `PlotControl` property
6868
```cs
6969
WpfPlot PlotControl { get; } = new WpfPlot();
7070
```
7171

72-
**Code-behind:** Create the plot in the view model's constructor
72+
**Code-behind:** Setup the plot in the view model's constructor
7373

7474
```cs
7575
void Plot()
@@ -82,6 +82,7 @@ void Plot()
8282
```
8383

8484
**Updating the Plot:**
85+
8586
* Access the control by using the `PlotControl` property in the view model
8687

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

0 commit comments

Comments
 (0)