Is it possible to fire a command to notify the window is loaded. Also, I\'m not using any MVVM frameworks (Frameworks in the sense, Caliburn, Onxy, MVVM Toolkit etc.,)
private void Window_Loaded(object sender, RoutedEventArgs e) { ApplicationCommands.New.Execute(null, targetElement); // or this.CommandBindings[0].Command.Execute(null); }
and xaml
Loaded="Window_Loaded"