Command Binding MenuItem

Sep 2, 2011 at 1:57 PM



<pu:PopupMenuItem Header="System Configuration" Command="{Binding Path=SystemConfigCommand}"/>

By some reason this will not fire the 'systemConfigCommand' when you click it...

I'va implemented the command like i always do zo i'm sure the problem lies with the PopUpMenuItem

plz help,

this is very crutial to my project ...

thanx in advance

Sep 2, 2011 at 3:08 PM

Solved it, 

i binded the command like following

 Command="{Binding Source={StaticResource Locator}, Path=ViewModels.Main.SystemConfigCommand}"