February 2012
Intermediate to advanced
708 pages
22h 55m
English
You can set your Silverlight application to run in full-screen mode if you wish, even when it is running inside the browser. This feature was designed to enable streaming video to be played on the full screen and for games, but you may find some uses for it in your business applications too, such as for kiosk applications. Let's take a look at how to do this.
The following code sets the application to run in full-screen mode:
Application.Current.Host.Content.IsFullScreen = true;
nce the application is in full-screen mode, the user can press the Escape key to go back to running normally. When the application enters full-screen mode, it will briefly flash a message telling the user of how ...
Read now
Unlock full access