Is it possible to access App instance from MainWindow instance?
My App performs some initialization steps (like configuration initialization) and I need to pass the config to MainWindow.
App.Current should return this instance, you will need to cast it though.
MainWindow from App? I bet it is not, but just to be sure ;-)Application.MainWindow property, otherwise you can try and find it in the Windows collection of the application for example by checking the types of the windows.App.Init() method .MainWindow hasn't been initialized yet...Window -> App direction in initial question ;-) Thanks for your help.