Skip to content

Conversation

@bearyung
Copy link
Contributor

@bearyung bearyung commented Apr 1, 2024

the DataContext need to cast to MainWindowViewModel with ((vm:MainWindowViewModel)DataContext) to make use of AddItem method of it

the DataContext need to cast to MainWindowViewModel with ((vm:MainWindowViewModel)DataContext) to make use of AddItem method of it
@stevemonaco
Copy link
Collaborator

stevemonaco commented Apr 1, 2024

I think this doc needs some additional written details regarding the syntax. This is an introductory tutorial with no prior mention of compiled bindings in its current version, AFAIK, not even for the project setup. It might be ok as a bandaid fix because ToDoList is being rewritten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants