Good day, I have an app that I'm busy doing for university. A user enters data on the MainWindow.xaml, I want to make the data that they entered on this window accessible throughout the application (Name, Surname etc. I know that I can parse the data into each individual window but I have 13 Windows total.
Is there a way that I can make a global or session variable in WPF that will allow me to access that data anywhere.
I have looked around for answers but using classes etc seems to be a bad way to go and I cant seem to find a solution that will work.
Thanks in advance.