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

How to add radio buttons to menu items?

2 Answers 59 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 18 Jun 2016, 01:08 PM
How should I style the RadMenuItem to get a radio button icon instead of the "check mark" icon.
I want some of my menu items to act as mutually exclusive checkable menu items so I want them to display a radio button.

2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 20 Jun 2016, 07:02 AM
Hi Greg,

RadMenu provides built-in functionality to set checks for each of the items through their IsCheckable property. You can read more about it at the following link:
http://docs.telerik.com/devtools/wpf/controls/radmenu/features/checkable-items

Regards,
Yana
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Greg
Top achievements
Rank 1
answered on 20 Jun 2016, 08:52 AM
Hello, Yana.
I understand that, but I was wondering if there's a convenient way to change the check mark into something else.
Anyway, I've managed to solve my issue by inheriting the RadMenuItem class to a new class that implements custom logic which makes use of the Icon property.

Thank you.
Tags
ContextMenu
Asked by
Greg
Top achievements
Rank 1
Answers by
Yana
Telerik team
Greg
Top achievements
Rank 1
Share this question
or