BANGALORE, INDIA: Silverlight 3 Beta enables youto run and create applications for your desktop, which means you can use them without Internet connectivity. You can store and use Silverlight apps locally without having to download extra plug-ins. Besides, Silverlight 3 based apps are able to detect Internet connectivity and react intelligently like caching user data, etc. As these applications run inside a secure sandbox environment with persistent isolated storage, they are quite safe to use.
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300">
To install Silverlight app locally, simply right click on browser window and click on Install. As shown above, one can add a shortcut to the desktop and Start Menu.
In this application, we have created a button click event 'Mouse_Clicked' and storyboard named 'Storyboard1'. This application creates animation on left mouse click. With this event, the Gold color in browser will change to Silver in four seconds. Here is the sample code of 'MainPage.xaml.cs' file that simply initiates animation :
using System.Windows.Media.Animation; using System.Windows.Shapes; namespace SilverlightApplication1 { public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); } private void Mouse_Clicked(object sender, MouseEventArgs e) { Storyboard1.Begin(); } } }
Get most out of your technology infrastructure investments with Dell
About CIOL | Media Kit | Site Map | Contact Us | Help | Write to us | Jobs@CyberMedia | Privacy Policy
Copyright © CyberMedia India Online Ltd. All rights reserved. Usage of content from web site is subject to Terms and Conditions.