Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
333
Icons not show up at runtime
posted

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>

Parents
  • 12631
    posted

    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

Reply Children
No Data