kindohm
kindohm

Reputation: 1600

how do you minimize a Silverlight full-screen out of browser app?

How do you minimize a Silverlight out of browser app that is running full screen with no border? I can't find any documentation on this. I know it's possible, because the Flickr Windows 7 app (which is a OOB SL app) can do it (http://www.flickr.com/Windows7).

The Host or Host.Content properties in the Application doesn't appear to have anything available to solve this. Nor do the Page or UserControl classes.

Any thoughts?

Upvotes: 0

Views: 954

Answers (1)

James Hollister
James Hollister

Reputation: 537

Application.Current.MainWindow.WindowState = WindowState.Minimized;

Should work.

Says that it requires it to be done in response to a user action or there's a security error, just like going full screen.

Upvotes: 1

Related Questions