Window
s and UserControl
s while ViewModels are .NET classes.MainWindow
which is an Avalonia Window
containing;Document
which is an Avalonia UserControl
containing;TextBox
es: Name
and Address
Button
s: OK
and Cancel
MainWindowViewModel
which has a property containing;DocumentViewModel
which has;string
properties: Name
and Address
Ok
and Cancel