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

Image for checkable RadMenuItem

2 Answers 89 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
Licensing
Top achievements
Rank 1
Licensing asked on 25 Apr 2012, 02:27 PM
I'm using context menu with checkable items. In order to meet UI design requirements I need to use custom icons for checked items instead of check mark. Please look at attached screen shot.

Current behavior:

- If item is checked then default check mark is displayed and it can't be changed.
- If item is not checked Icon image is displayed.

Expected behavior:

- If item is checked custom image is used instead of check mark (or some frame is drawn around icon - see green arrow).
- If item is not checked then defalt icon is displayed.

Looking forward for your response.

2 Answers, 1 is accepted

Sort by
0
Licensing
Top achievements
Rank 1
answered on 27 Apr 2012, 07:37 AM
Are you going to provide me with any response?
0
Yana
Telerik team
answered on 01 May 2012, 12:23 PM
Hello,

You should edit the template of the RadMenuItems in order to change the tick. I've attached an example to demonstrate the approach with implicit styles as explained here.  Go to Themes/Telerik.Windows.Controls.Navigation.xaml file and search for  "Path x:Name="Tick".  In the sample I've changed the tick to be red, but you can replace it with an image.

Hope this helps.

Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ContextMenu
Asked by
Licensing
Top achievements
Rank 1
Answers by
Licensing
Top achievements
Rank 1
Yana
Telerik team
Share this question
or