I've read on few places already, that it's possible to combine XNA and WPF. What I personally need is a game/map editor, which would actually be the game itself (would have the engine running in background), because map system writes serialized versions of objects to XML, which are later loaded.
My problem is that I want an standard app, that'd run the engine in the background, and create game assets as user creates them from the frontend, and later on serialize them and put into XML.
This would also come in handy, if it's possible to run WPF from game, for UI, if anyone had any experiences with this, I'd appreciate if he/she'd share it.
Shortly: how can I make WPF (or winforms) app, that has XNA code running in one of it's control, and in background?