MenuItem not displaying the Icon

May 28, 2010 at 2:35 PM
Edited May 28, 2010 at 2:41 PM
Hi, Fluent overhides ContextMenu/MenuItem style right?

I'm trying to use a ContextMenu, but the icon is missing, could be a Fluent conflict issue?
Here is the xaml code:

<ContextMenu x:Key="Stuff">
	<MenuItem Header="MyHeader" Command="{Binding MyCommand}">
			<Image Source="/Stuff;component/Resources/IcoTest.png" />

The image is found by the Property window, as I used it to set the image.
I tried a .ico image as well, but the issue remain.

May 31, 2010 at 8:27 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jun 11, 2010 at 9:02 AM
Is there a workaround possible here? I have the same problem. It's quite annoying, as it seems to affect ALL context menus in the application. It seems to be related to the Office themes. Any application that include the office themes using <ResourceDictionary Source="/Fluent;Component/Themes/Office2010/*.xaml" /> seem to be affected.
Jun 12, 2010 at 3:15 PM

I found a workaround by patching the Fluent 1.3 sources and building my own dll. Have a look at the Work Item where I described the workaround.

Jun 14, 2010 at 8:31 AM

Thanks ticklishtechs! I'll try that.

Jul 16, 2010 at 1:56 PM
@daVinci: I have post a comment at the work item you created. Please discuss with me.