Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 700
  • Last Modified:

Silverlight fullscreen mode

I want my Silverlight app to go into fullscreen mode on start up however putting this line in does nothing...

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

Any ideas why? I have tried it in Firefox and IE8 and yet the screen remains in normal mode
1 Solution
Wayne Taylor (webtubbs)Commented:
You can only go to FullScreen from a user-initiated event (such as a button click), or a Trusted application.

See http://msdn.microsoft.com/en-us/library/system.windows.interop.content.isfullscreen%28v=vs.95%29.aspx

wilko100Author Commented:
Nice one cheers

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now