How to detect the resolution of my device?
Answer / diana
(App.Current.RootVisual as FrameworkElement).ActualHeight and (App.Current.RootVisual as FrameworkElement).ActualWidth gives you device's resolution
If you want to know the visible size (taking AppBar / SystemTray into account) then just ask for it off the page instead.
| Is This Answer Correct ? | 0 Yes | 0 No |
Suppose I am hitting System.InvalidOperationException in the Navigate method of the WebBrowserControl. What gives?
How to show the sip keyboard in xna app?
Explain how to save silverlight uielements into an image?
What is windows phone bluetooth?
Suppose I am trying to receive toast notifications in emulator app. I got everything setup but notification does not show up in emulator at all?
Tell me about the Windows Phone?
Tell me is it possible to use custom pixel shader in xna?
is there an api for retrieving information on the files located in the store? I am looking to check when it was last written?
Is there any internal page notification that it receives to detect a phone call?
Explain how to sniff network traffic from the emulator?
Tell me is there an api for retrieving information on the files located in the store? I am looking to check when it was last written?
How to enable/disable alerts?