How can I use the KeyTipService.AccessKey?

2 posts, 0 answers
  1. Martin
    Martin avatar
    39 posts
    Member since:
    Sep 2008

    Posted 12 Mar 2013 Link to this post

    I have this code and I want to be able to press Ctrl+O anywhere in my code to open a new document. How is this implemented in the RibbonView?

    <telerik:RadRibbonBackstage>
                   <telerik:RadRibbonBackstageItem Name="OpenDocument" Header="Open"  Icon="{Binding Icons.OpenDocument}"
                                                                 telerik:KeyTipService.AccessKey="Ctrl+o" telerik:KeyTipService.AccessText="Ctrl+o" 
                                                   Command="{Binding OpenCommand}" CommandParameter="DOPE" IsSelectable="False" />
                   <telerik:RadRibbonBackstageItem Header="Save" Name="SaveWorkSpace" Icon="{Binding Icons.SaveDocument}" Command="{Binding SaveCommand}" IsSelectable="False"/>
                   <telerik:RadRibbonBackstageItem IsGroupSeparator="True" />
                   <telerik:RadRibbonBackstageItem Header="Recent" IsDefault="True">
     </telerik:RadRibbonView.Backstage>

    This is not the complete menu ..
  2. Martin
    Martin avatar
    39 posts
    Member since:
    Sep 2008

    Posted 13 Mar 2013 Link to this post

    It's working now
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top