Resize xaml page on different size screen

How to make resize my web application xaml page  on two different size screen in Silverlight(c#)
OFGeminiAsked:
Who is Participating?
 
Kumaraswamy RConnect With a Mentor Commented:
public Page()

{
      InitializeComponent();

      Application.Current.Host.Content.Resized += new EventHandler(Content_Resized);
}

void Content_Resized(object sender, EventArgs e)
{

this.Width = Application.Current.Host.Content.ActualWidth;
this.Height = Application.Current.Host.Content.ActualHeight;

}

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.