Skip to content

Instantly share code, notes, and snippets.

@rohits79
Created June 15, 2016 01:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohits79/aac6ef12776192abd6f4c319f33b6200 to your computer and use it in GitHub Desktop.
Save rohits79/aac6ef12776192abd6f4c319f33b6200 to your computer and use it in GitHub Desktop.
public class SampleViewModel: BindableBase, INavigationAware
{
...
public const string Name = "SampleView";
public bool IsNavigationTarget(NavigationContext navigationContext)
{
return navigationContext.Uri.OriginalString.Equals(Name)? true : false
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment