Recommended

Skip Navigation LinksHome / Tips / View Tip

Tip: How to enter full-screen mode?

+ Add to SilverlightShow Favorites
0 comments   /   posted by Denislav Savkov on Sep 18, 2008
(2 votes)
Categories: General

Just use the following line.

C#

Application.Current.Host.Content.IsFullScreen = true;   

Entering full-screen mode in Silverlight has some restrictions. To ensure that it is initiated by the user entering full-screen mode is possible only in response to one of these input events: MouseLeftButtonDown. MouseLeftButtonUp, KeyDown, KeyUp.

That's it!

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 6 and 6 and type the answer here:

Help us make SilverlightShow even better and win a free t-shirt. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need a material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)