Created
March 30, 2022 10:08
-
-
Save Axemasta/d12122b80ae892dd68ee0e394dc6c8da to your computer and use it in GitHub Desktop.
Prism Tabbed Page Builder
This file contains hidden or 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
| 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