AvaloniaUI / avalonia-docs

https://docs.avaloniaui.net/docs/welcome
64 stars 213 forks source link

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

Closed dbchandra23 closed 7 months ago

dbchandra23 commented 8 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.