AvaloniaUI / avalonia-docs

https://docs.avaloniaui.net/docs/welcome
60 stars 190 forks source link

Update how-to-use-design-time-data.md #441

Closed dbchandra23 closed 4 months ago

dbchandra23 commented 5 months ago

The sample code missed a few critical items to make it work properly in the design view, such as the Command properties.

I have also added the xmlns and x:DataType to make the code works, given that Avalonia generated app now have CompiledBinding turned on by default.

I have also added the MainWindow and AppointmentView.axaml.cs changes to make the whole example compile from a base.