You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/get-started/test-drive/main-window.md
+4-5
Original file line number
Diff line number
Diff line change
@@ -21,16 +21,15 @@ In the **MainWindow.axaml** XAML file, the `<Window>...</Window>` XAML tag repre
21
21
22
22
<imgsrc={LayoutZonesDiagram}alt="" />
23
23
24
-
In the current application, the content zone of the window references another view: **<views:MainView />**. 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.
25
24
26
-
## The MainView User Control
25
+
## The MainWindow control
27
26
28
-
Inside this user control, you will see a `<TextBlock>...</TextBlock>` 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.
27
+
Inside **MainWindow.axaml**, you will see a `<TextBlock>...</TextBlock>` 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.
0 commit comments