Is it ok to use a class like this (design / guideline specific)? I\'m using MVVM Pattern.
public static class Pages
{
public const string Home = \"Home.xaml\
From the design perspective of your question, it seems like it could get messy fast using a single static object to contain all page references. Can you not just store it in the actual page object?
class view2 {
public const string PageName = "View2.xaml";
... other stuff ...
}
then call it along the lines of...
goTo(view2.PageName);