Search code examples
c#windows-8windows-runtimewindows-store-apps

Frame.Navigate() vs this.Frame.Navigate()


What is the difference between Frame.Navigate() and this.Frame.Navigate() in a Windows 8.1 Store app?

What difference does this

Frame.Navigate(typeof(Login));

have with this?

this.Frame.Navigate(typeof(Login));

Solution

  • There no difference.

    The this keyword refers to the current instance of the class and is also used as a modifier of the first parameter of an extension method.

    https://msdn.microsoft.com/en-us/library/dk1507sz.aspx