Hi,
I'm new to silverlight and Infragistics Silverlight controls. Now I have to research silverlight using Infragistics's controls. So after I walk-through all examples in xamWebTree section. I have some following questions. Please give your spare time to help me.
Q: BackgroundImageUri="/Infragistics.Samples.Silverlight.Resources.LOB;component/Images/Chrome/Backgrounds/CurlyBlue.jpg"
This path to the image is strange. I think it load images in specific .dll ? Where can I utilize these images ? I find in many folders but can't find these images.
Thanks.
I suppose you have installed the NetAdvantage Silverlight Samples. This image is packed in a dll named Infragistics.Samples.Silverlight.Resources.LOB.dll. This dll is in folder ...Infragistics\NetAdvantage 2010.2\Silverlight\Samples\SamplesBrowser\SamplesBrowser.Samples.LOB\Bin.
The URI is formed correctly - in this case we access an external resource so the URI is constructed in following way -
Resource file - referenced assembly
Uri uri = new Uri("/ReferencedAssembly;component/<path to the resource>", UriKind.Relative);