Skip to content

Custom Model View Manager Tab

xCAD framework allows to add custom Windows Forms controls and WPF controls into Model View Manager tabs.

This functionality is only available for Part and Assembly documents

Decorate the control classes with TitleAttribute to assign a tab name.

cs
var winFormModelViewTab = CreateDocumentTab<WinFormControl>(Application.Documents.Active);
WinFormControl winFormModelViewCtrl = winFormModelViewTab.Control;

var wpfModelViewTab = CreateDocumentTab<WpfControl>(Application.Documents.Active);
WpfControl wpfModelViewTabCtrl = wpfModelViewTab.Control;