By Design, Infragistics’ XamWebMenu Root Items Can’t Have Icons


[tweetmeme source=”jojitsoriano” only_single=false]

When I first tried to use XamWebMenu control (Silverlight LOB CTP Feb. 2009 version) for the application menu bar of my Silverlight project, I encountered what I thought was a bug in XamWebMenu. I could assign an image file to the Icon property of the top-level XamWebMenuItem but the image wouldn’t show up. I posted this query to the Infragistics’ forum:

And here’s the reply:

This code works and here’s the output:

About the issue on the VS2008 crashing and exiting when I resize the Preview and xaml windows, I found out by isolating the Xaml tags that this was happening when the XamWebSeparator was included in the Xaml. I haven’t asked Infragistics’ about this but I’ll post it again here when I have an answer.

Advertisements
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s