Explain with example how to change the default page of the silverlight application.
Answer Posted / Sakshi Rani
To change the default page of a Silverlight application, update the `StartupUri` attribute in the AppManifest.xml file: `<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:xdt="http://schemas.microsoft.com/Xml-Data/Commands"> <Application Id="MyApp" xdt:Transform="Replace"> <Setup> ... </Setup> <DeploymentGroup> ... </DeploymentGroup> <ApplicationLifetime xmlns="http://schemas.microsoft.com/client/2007/windowslive/application"> <EntryPoint> MyApplication.exe </EntryPoint> <SplashScreen ImageUri="SplashScreenImage.jpg" /> <StartupUri>NewDefaultPage.xaml</StartupUri> </ApplicationLifetime> </Application></Deployment>"`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category