Edward Tanguay
Edward Tanguay

Reputation: 193302

How can I change the OOB height/width of my silverlight application dynamically?

I have a silverlight app which can be installed as an out-of-browser app by the user.

Every time I change the height and width of the application, I have to also:

How can I change the defined height and width of the Out-of-Browser application in code?

Upvotes: 0

Views: 488

Answers (1)

PatteDePoule
PatteDePoule

Reputation: 11

I use this :

private void Application_Startup(object sender, StartupEventArgs e) { MyBlueForm = new MyBlueForm();

this.RootVisual = startupWindow;

this.MainWindow.Width = startupWindow.Width; this.MainWindow.Height = startupWindow.Height; }

Upvotes: 1

Related Questions