❔ ✅ 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
cap5lut14mo ago
iirc the property name for the generated command has the Command suffix, so it should be {Binding CreatePlayerCommand}
EricAwesomeness
EricAwesomenessOP14mo ago
I knew it had to be something simple i forgot thank you so much haha
cap5lut
cap5lut14mo 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
MODiX14mo ago
Use the /close command to mark a forum thread as answered
EricAwesomeness
EricAwesomenessOP14mo ago
Thanks again king!
cap5lut
cap5lut14mo ago
glad i could help o7
Accord
Accord14mo 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