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 2 and type the answer here: