Adding and removing links from code using MVVM

Apr 16, 2014 at 12:36 PM
Hello, Im following this tutorial to use MVVM with Modern UI. http://www.yaharasoftware.com/Blog/tabid/323/entryid/9/MVVMLight-and-ModernUI-Part-1-Setup-and-Basics.aspx

I now trying to figure out how to add a link to a view when the user navigates to that view. Say for example when the application is started there will only be one link visible named Connection. In the connection view the user can enter a connection string and press a button ok. Now the next view will be shown, ie the navigation is done from the first view not by clicking a link but by clicking the ok button. But how can I make the link appear only when the view is shown?