Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
(Uregnt) how ??--Access Key or short cut key - ribbon group items
posted

Hi,

I have a Ribbongroup and buttontool in it.

 

I want to add short cut key - say Logout

- short key = ctrl+l

i.ee... WPF world _lOGOUT

 

 

 

 

<

 

 

igRibbon:ButtonTool Height

="30"

 

 

Caption="Log out" igRibbon:RibbonGroup.MaximumSize="ImageAndTextLarge" Id

="exitTool"

 

 

SmallImage

="pack://application:,,,/ISIS.UI.Resources;component/images/t_logoff.png"

 

 

LargeImage

="pack://application:,,,/ISIS.UI.Resources;component/images/t_logoff.png"/

Is such feature exists?

  • 54937
    Suggested Answer
    Offline posted

    It is really the same thing you would do if you were using a Menu or Toolbar. You would need to define an InputBinding at the Window level. There is more information/examples in MS documentation - http://msdn.microsoft.com/en-us/library/ms752308.aspx. Note, the xamRibbon tools in the ribbon group will not show a mnemonic character since tools in Office Ribbon do not show mnemonics - instead the keytips are used when in keytip mode (e.g. pressing and releasing Alt).