I'm trying to open a new window inside an event once it is triggered and im receiving: The calling thread must be STA, because many UI components require this.
Can anyone help me out ?
Try to invoke your code from the dispatcher:
Application.Current.Dispatcher.Invoke((Action)delegate{
//your code
});