a very minimal example on how to run WPF window on Revit. There was a discussion on Autodesk RevitAPI Community, on how to implement WPF window within Revit. Link I have written this very minimal ...