Skip to content

Instantly share code, notes, and snippets.

@Axemasta
Created March 30, 2022 10:08
Show Gist options
  • Select an option

  • Save Axemasta/d12122b80ae892dd68ee0e394dc6c8da to your computer and use it in GitHub Desktop.

Select an option

Save Axemasta/d12122b80ae892dd68ee0e394dc6c8da to your computer and use it in GitHub Desktop.
Prism Tabbed Page Builder
private string GetTabbedPagePath()
{
string path = nameof(Views.MainTabbedPage);
var children = new List<string>()
{
$"createTab={nameof(Views.TabAPage)}",
$"createTab={nameof(Views.TabBPage)}",
$"createTab={nameof(Views.TabCPage)}"
};
if (children.Count > 0)
path += "?" + string.Join("&", children);
return path;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment