Tag: Silverlight
-
Thoughts on Visual Studio LightSwitch
Earlier this month (August 2010) Microsoft has introduced a new Visual Studio family member, it’s Visual Studio LightSwitch. Visual Studio LightSwitch is RAD (Rapid Application Development) tool that can be used to build WPF and Silverlight applications in an easy way. Don’t expect me to explain the features in this post, it will be too…
-
Working with Image.Source on Silverlight 3
Below are some options to work with Image.Source 1. Embedded in the .xap file as Content Note that the Build Action is “Content” XAML <Image x:Name=”imgContent” Source=”/Assets/Images/2.jpg” /> Code (C#) imgContent.Source = new BitmapImage(new Uri(“/Assets/Images/2.jpg”, UriKind.Relative)); 2. Embedded in the .xap file as Resource Note that the Build Action is “Resource” XAML <Image x:Name=”imgResource” Source=”/SilverlightApplication1;component/Assets/Images/1.jpg”…