SubMenu Item Dynamically Loading Not working

Oct 21, 2010 at 8:41 PM

<MenuItem Header="Flag(s)" ItemsSource="{Binding Path=LineItemFlags}" >
                                <Style TargetType="{x:Type MenuItem}">
                                    <Setter Property="Header" Value="{Binding FlagName}" />
                                    <Setter Property="Command" Value="{Binding AssignFollowupCommand}" />
                                    <Setter Property="CommandParameter" Value="{Binding RelativeSource={RelativeSource FindAncestor, 
                                  AncestorType={x:Type ContextMenu}}, Path=PlacementTarget}" />
Can any one help me out why the command is not invoking.

In the Setter i set the Command It's not working any help it's a bug in WPF?

I looked @ so may posts every one saying same issue..

Oct 22, 2010 at 8:59 AM

This doesn't seem to be anything to do with Cinch, is it? If not you should probably try StackOverflow or something.