Dear Ryuji,
Sorry for the late reply, i had a small vacation.
Many Thanks for your reply, it makes the code a lot clearer and easies to understand, unfortunately i still get an error i cant solve.
public partial class testform : Page, Autodesk.Revit.UI.IDockablePaneProvider { public testform() { InitializeComponent(); } public void SetupDockablePane(Autodesk.Revit.UI.DockablePaneProviderData data) { data.FrameworkElement = this as FrameworkElement; data.InitialState = new Autodesk.Revit.UI.DockablePaneState(); data.InitialState.DockPosition = Autodesk.Revit.UI.DockPosition.Tabbed; data.InitialState.TabBehind = Autodesk.Revit.UI.DockablePanes.BuiltInDockablePanes.ProjectBrowser; } }
Apparently the WPFTEST.testform cannot be converted to a Frameworkelement.
Do you have any suggestions?
Best Regards,
Martin B