William Thompson

William Thompson

  • NA
  • 94
  • 218.9k

How do I tell if the browser window is Maximized in Silverlight/C#?

Jul 14 2011 9:34 PM
How do I tell if the browser window is Maximized in Silverlight/C#?
The "Form" maximize feature will not work because I am writing a silverlight app that runs in the browser.
I have tried this:
App.Current.Host.Content.FullScreenChanged += new EventHandler(Content_FullScreenChanged);
but this event handler is not called when I maximize the window.
Maximized is not full screen
App.Current.Host.Content.IsFullScreen;
returns false even if I maximize the window.


Answers (6)