This is a migrated thread and some comments may be shown as answers.

Menu item shortcuts

1 Answer 146 Views
Menu
This is a migrated thread and some comments may be shown as answers.
GreenB
Top achievements
Rank 2
GreenB asked on 31 Dec 2009, 05:07 AM
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

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 04 Jan 2010, 02:43 PM
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.
Tags
Menu
Asked by
GreenB
Top achievements
Rank 2
Answers by
Kaloyan
Telerik team
Share this question
or