I've added icons to menu items, at design time they are visible, at runtime -- nothing. Below is the xaml any ideas?
<igMenu:XamWebMenuItem> <igMenu:XamWebMenuItem.HeaderTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <Image Source="Images/edit.png" /> <TextBlock Text="Edit Wire" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5"/> </StackPanel> </DataTemplate> </igMenu:XamWebMenuItem.HeaderTemplate> </igMenu:XamWebMenuItem>
Try hooking up the ImageFailed event on the Image object to see if it can help you first figure out of the image is loading sucessfully. I have found that getting paths to work in Silverlight can be a bit challenging.
Devin
I got it to work, just a pathing issue as it turns out. The Source should be "/<AppName>;components/images/edit.png" now it works just fine.
Brad