I'm really new to this project.
I would like to enable some links in the main window after doing log in function.
My main window have a source to home.xaml which is also the log in page directly
<mui:Link DisplayName="Log In" Source="/Pages/Home.xaml" />
and In home.xaml I have a button to trigger the event which implemented like this:
public partial class Home : UserControl
private void LogInClick(object sender, RoutedEventArgs e)
// add remove this link and add more links to the main window
as you seen in the code, at first the main window will have only one link which is the log-in one;
my question is how to add more links to main window and disable the old one from main window?
or is there better approach of doing log-in function to enable other pages later ?
thank you for helps in advance :D