diff --git a/docs/get-started/test-drive/add-a-control.md b/docs/get-started/test-drive/add-a-control.md index dd4498330..343644fd4 100644 --- a/docs/get-started/test-drive/add-a-control.md +++ b/docs/get-started/test-drive/add-a-control.md @@ -16,7 +16,7 @@ Avalonia contains a built-in control that creates a button. Follow this procedur - Stop the app if it is running. - Locate the `` -in the `MainView.axaml` file.. +in the `MainWindow.axaml` file.. - Delete the entire line. - Insert a 'Button' tag as shown: ```xml diff --git a/docs/get-started/test-drive/main-window.md b/docs/get-started/test-drive/main-window.md index 7d8da9d65..301745cff 100644 --- a/docs/get-started/test-drive/main-window.md +++ b/docs/get-started/test-drive/main-window.md @@ -21,16 +21,15 @@ In the **MainWindow.axaml** XAML file, the `...` XAML tag repre -In the current application, the content zone of the window references another view: ****. This is a reference to the **MainView.axaml** file, which is a user control that will be displayed in the content zone of the window. -## The MainView User Control +## The MainWindow control -Inside this user control, you will see a `...` XAML tag. This represents a text block control. The `Text` property of the text block is bound to the **Greeting** property of the **MainViewModel** class. This is a property that will be set in the constructor of the view model class. +Inside **MainWindow.axaml**, you will see a `...` XAML tag. This represents a text block control. The `Text` property of the text block is bound to the **Greeting** property of the **MainWindowViewModel** class. This is a property that will be set in the constructor of the view model class. ``` ``` -You can change the text in the file **MainViewModel.cs** to see the change reflected in the user interface. +You can change the text in the file **MainWindowViewModel.cs** to see the change reflected in the user interface. @@ -42,7 +41,7 @@ For more information about the concept of control layout zones, see [here](../.. ## The Visual Studio Designer If you're using Visual Studio you should see the XAML code and preview pane. -Navigate to the **MainView.axaml** file and click the **Split View** button at the top of the editor window. +Navigate to the **MainWindow.axaml** file and click the **Split View** button at the top of the editor window. diff --git a/static/img/get-started/test-drive/calculate-button.png b/static/img/get-started/test-drive/calculate-button.png index acfecca78..91ea1736c 100644 Binary files a/static/img/get-started/test-drive/calculate-button.png and b/static/img/get-started/test-drive/calculate-button.png differ diff --git a/static/img/get-started/test-drive/main-window-viewmodel.png b/static/img/get-started/test-drive/main-window-viewmodel.png index bfe221c73..b2b122798 100644 Binary files a/static/img/get-started/test-drive/main-window-viewmodel.png and b/static/img/get-started/test-drive/main-window-viewmodel.png differ