❔ ✅ Databinding using CommunityToolkit.MVVM

I am getting intellisense telling me "Member not found in Data context MainViewModel" on lines 23 and 28 on CreatePlayer. https://paste.mod.gg/leozuymwsqvt/0 Anyone mind pointing out an error I made?
BlazeBin - leozuymwsqvt
A tool for sharing your source code with the world!
7 Replies
cap5lut
cap5lut8mo ago
iirc the property name for the generated command has the Command suffix, so it should be {Binding CreatePlayerCommand}
EricAwesomeness
EricAwesomeness8mo ago
I knew it had to be something simple i forgot thank you so much haha
cap5lut
cap5lut8mo ago
i just remembered it cuz it sorta bugged me 😂 so if this really was the solution, pls dont forget to $close the thread
MODiX
MODiX8mo ago
Use the /close command to mark a forum thread as answered
EricAwesomeness
EricAwesomeness8mo ago
Thanks again king!
cap5lut
cap5lut8mo ago
glad i could help o7
Accord
Accord8mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts