79544106

Date: 2025-03-30 01:51:38
Score: 1
Natty:
Report link

Well I ended up figuring it out soon after posting this thanks to this thread. I ended up changing:

Command="{Binding Source={x:Reference this}, Path=BindingContext.MyCommand}}"

to

Command="{Binding Source={RelativeSource AncestorType={x:Type viewmodel:MyViewModel}}, Path=MyCommand, x:DataType=viewmodel:MyViewModel}"

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: codybchaplin