File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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
7575void 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.
You can’t perform that action at this time.
0 commit comments