Menu item shortcuts

2 posts, 0 answers
  1. GreenB
    GreenB avatar
    6 posts
    Member since:
    Aug 2012

    Posted 30 Dec 2009 Link to this post

    Hello.

    How can I add Alt accelerator on RadMenu?

    In Case:
    System.Windows.Controls.Menu are IsMainMenu property set true and header text "_File" then work OK.
    but, RadMenu are IsMainMenu property are not exist, and '_' character ignored.

    Thanks,
    GreenB
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 04 Jan 2010 Link to this post

    Hello GreenB,

    We will try to fix the issue for the SP2 scheduled for this month. As a workaround you can place a label inside the RadMenuItem header:

    <telerik:RadMenu VerticalAlignment="Top">
               <telerik:RadMenuItem x:Name="menuItemTest">
                   <telerik:RadMenuItem.Header>
                       <Label Content="_Test" Target="{Binding ElementName=menuItemTest}" />
                   </telerik:RadMenuItem.Header>
                   <Button />
                   <Button />
                   <Button />
                   <Button />
               </telerik:RadMenuItem>
           </telerik:RadMenu>

    Kind regards,
    Kaloyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top