Skip to content

Update navigate-views.md#434

Open
bearyung wants to merge 1 commit intoAvaloniaUI:mainfrom
bearyung:patch-1
Open

Update navigate-views.md#434
bearyung wants to merge 1 commit intoAvaloniaUI:mainfrom
bearyung:patch-1

Conversation

@bearyung
Copy link
Copy Markdown
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
Copy Markdown
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