cancel
Showing results for 
Search instead for 
Did you mean: 

SilvrelightIsland ; how to get current broswer size

Former Member
0 Kudos

Hi,

I have developed a silverlight island application . When I launch the application it has silverlight part and webdynpro part.

I have a requirement that when I resize the browser the webdynpro and silverlight part should get scaled automatically.

My query is how do i get the current browse width and height at runtime ?

App.Current.Host.Content.ActualHeight , App.Current.Host.Content.ActualWidth gives height and width od silverlight part not the entire browser window.

Regards,

Chitra

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you try to set the width and height to percentage values?