Created
June 15, 2016 01:55
-
-
Save rohits79/aac6ef12776192abd6f4c319f33b6200 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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