Skip to main content

Microsoft Silverlight

Answered Question Full Screen modeRSS Feed

(0)

Galaad
Galaad

Member

Member

152 points

75 Posts

Full Screen mode

 Hello everybody.

 

I've  a Silverlight application, which is redimensionned in function of the user display resolution, trough a method. I've integrated a full screen method to. So, when I go in full screen mode, I invoke the method, and elements are redimensioned. But I've try to reinvoke the method when user quit the full screen mode, without success.

So, if somebody know how detect the end of the full screen mode, thank you :D

You're welcome to Aerilys at www.aerilys.fr. Tutorials and games.
Soon, Solaris Project, multiplayers game in Silverlight at www.solaris.aerilys.fr.

tanmoy.r
tanmoy.r

Contributor

Contributor

3594 points

710 Posts

Answered Question

Re: Full Screen mode

 Are you attaching an event like

App.Current.Host.Content.FullScreenChanged +=

and then at the handler

if (App.Current.Host.Content.IsFullScreen)
            {
                // fullscreen mode logic
            }
            else
            {
                //normal mode logic
            }

Please Mark as Answer if this helps you.
Thanks n Regards
~Tanmoy
Blog: http://anothersilverlight.blogspot.com/

Galaad
Galaad

Member

Member

152 points

75 Posts

Re: Full Screen mode

 Thank you, it's operative :D

 

You're welcome to Aerilys at www.aerilys.fr. Tutorials and games.
Soon, Solaris Project, multiplayers game in Silverlight at www.solaris.aerilys.fr.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities