I would like to test WPF as an improvement to Winforms (I think I have the correct terms)
So I tried the following:
I created an Addin
I inserted a WPF user control as its the only thing available under WPF
I then added imports System.Windows the xaml.vb and within the class Inherits window
this allows me to treat the WPF user control as a window so that I can use .ShowDialog() to get it open
But I get the following error:
Error 1 Base class 'System.Windows.Controls.UserControl' specified for class 'Home' cannot be different from the base class 'System.Windows.Window' of one of its other partial types.
the System.Windows.Controls.UserControl is automatically generated in a file named Home.g.vb
so to my question
I guess that adding a user control is different to a form, which is what I want..... so is there some documentation out there about adding a WPF form to a revit api?