I want my application to run in full-screen mode.
I have tried using the codes below, however, they are giving some errors.
The code is not recognized by the emulator:
<phone:PhoneApplicationPage
...
shell:SystemTray.IsVisible="False"
...
/>
"SystemTray" does not exist in the current context:
private void OnPhoneApplicationPageLoaded(object sender, RoutedEventArgs args)
{
SystemTray.IsVisible = false;
}
How do I do it?