SubMenu Item Dynamically Loading Not working

Oct 21, 2010 at 7:41 PM

<MenuItem Header="Flag(s)" ItemsSource="{Binding Path=LineItemFlags}" >
                            <MenuItem.ItemContainerStyle>
                                <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}" />
                                </Style>
                            </MenuItem.ItemContainerStyle>
                        </MenuItem>
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..

Coordinator
Oct 22, 2010 at 7:59 AM

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