title: Popup Menu commands in Windows store apps
body: <p>I have designed an Appbar with an Add button. When user clicks on the add button, a PopupMenu opens and provides two options as given. I wanna bind them two commands. I searched a lot and there are so many different ways. Can someone please tell me how can I do that. I need to show a popup when user clicks on the button. </p>
  
  <p>Language is XAML/C#</p>
  
  <pre><code>    private async void AddTaskButtonClick(object sender, RoutedEventArgs e)
      {
      PopupMenu menu = new PopupMenu();
      menu.Commands.Add(new UICommand("Everyday Task"));             
      menu.Commands.Add(new UICommand("Onetime Task"));
      await menu.ShowAsync(new Point(10,680));
      }
  </code></pre>
  
  <p>I wanna add commands to the MenuItem but not able to in windows store apps. Help me with this.</p>