5
Vote

ApplicationBarButtonCommand - what about menu items?

description

For the ApplicationBar, the behavior is available in Prism for ApplicationBarIconButton commands, but the equivalent for ApplicationBarMenuItem is missing.
 
e.g. below is available:
<Custom:Interaction.Behaviors>
<prismInteractivity:ApplicationBarButtonCommand ButtonText="Settings" CommandBinding="{Binding AppSettingsCommand}" />
</Custom:Interaction.Behaviors>
 
Would be nice to have the following for ApplicationBar menu items, e.g.:
<prismInteractivity:ApplicationBarMenuItemCommand MenuItemText="Menu name" CommandBinding="{Binding MenuItemCommand}" />
 
Can it be incorporated by default in the Prism Interactivity lib?
 
Thanks,
Ross

comments

spawnkid wrote Mar 21, 2011 at 1:14 PM

U couldn't believe it was not available until now. Menu items are important as icon buttons also. I hope this issue(or Proposal if you categorized it) should fix or done.

spawnkid wrote Mar 21, 2011 at 1:15 PM

I mean I couldn't believe.

wrote Mar 21, 2011 at 1:16 PM

wrote Jun 15, 2011 at 6:57 PM

wrote Jun 20, 2011 at 9:34 AM

allenlooplee wrote Aug 11, 2011 at 2:45 PM

Looking for behavior to bind command object to application bar menu item? Here's what you should have a look: http://appbarutils.codeplex.com/

wrote Feb 14, 2013 at 2:23 AM