locked
Quick access toolbar click problem RRS feed

  • Question

  • hi

    I created a ribbon windows application in vs2010 :

    I created a ribbon button and set "CanAddToQuickAccessToolBarDirectly" true and chose a name for "QuickAccessToolBarId" .

    Once the application is running, "add quick ..." in right click menu was enabled and it's working with no problem, but without any events.

     <ribbon:RibbonButton x:Name="Back_key" QuickAccessToolBarId="QATBack"
                                             LargeImageSource="/Images/back.png"
                                             Label="Back" KeyTip="B" TabIndex="1" ToolTipTitle="Back" ToolTipImageSource="/Images/back64.png" ToolTipFooterImageSource="/Images/navigation.png" ToolTipFooterTitle="Navigation's keys" SmallImageSource="/Images/back16.png" Click="Back_key_Click"></ribbon:RibbonButton>

      private void Back_key_Click(object sender, RoutedEventArgs e)
            {
              goback();
            }

    Friday, March 9, 2012 10:23 AM

Answers