Found it

Application.Current.Exit();

Tied it to a close button..