Skip to content

Custom Feature Manager Tab

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

This functionality is only available for Part and Assembly documents

Decorate the control classes with TitleAttribute and IconAttribute to assign a tab tooltip and icon.

cs
var winFormFeatMgrTab = CreateFeatureManagerTab<WinFormControl>(Application.Documents.Active);
WinFormControl winFeatMgrFormCtrl = winFormFeatMgrTab.Control;

var wpfFeatMgrTab = CreateFeatureManagerTab<WpfControl>(Application.Documents.Active);
WpfControl wpfFeatMgrTabCtrl = wpfFeatMgrTab.Control;