This project is read-only.

LargeIcon property from the code behind

Jul 19, 2010 at 8:25 AM


using the sample Fluent.Sample.Galleries I want to change the dropdown menu’s LargeIcon property from the code behind:

buttonGreen.LargeIcon = new BitmapImage(new Uri("Images\\BrownLarge.png", UriKind.Relative));

But the drop down only shows a blank with no image. Ho can I set the LargeIcon property in the code behind?



Jul 19, 2010 at 8:54 AM

Hello, try this: buttonGreen.LargeIcon = new BitmapImage(new Uri("pack://application:,,,/Fluent.Sample.Galleries;component/Images/BrownLarge.png", UriKind.Absolute));