void RecordButton_Click(object sender, EventArgs e)
{
NavigationService.Navigate(new Uri("/RecordAudio.xaml",UriKind.Relative));
}
In the above code , is NavigationService a class or is it an object of type NavigationService ? .
if it is a class . then is Navigate() a static method ?
and
if it is an object . Why have we not instantiated NavigateService class using the new operator ?
As @VahidNd said - use F12 (if you use VS). To clarify it's like this:
PhoneApplicationPage
(which you use) base class isPage
:And you can see that it has a property
NavigationService
of typeNavigationService
which is a clss in System.Windows.Navigation.You can see these dependences when you use this F12 key - just set cursor's position on type/property/what you want, and hit the key.