Skip to content

Instantly share code, notes, and snippets.

@smetlov
Created June 16, 2016 19:06
Show Gist options
  • Save smetlov/5fdecf2cc5b98ef85480c1fadf07f4b5 to your computer and use it in GitHub Desktop.
Save smetlov/5fdecf2cc5b98ef85480c1fadf07f4b5 to your computer and use it in GitHub Desktop.
public partial class MainPage
{
public MainPage()
{
InitializeComponent();
}
protected override void OnCurrentPageChanged()
{
base.OnCurrentPageChanged();
Title = CurrentPage?.Title;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment