Creating View Parts
The Trados Studio Integration API allows developers to integrate custom UI view parts into Trados Studio desktop applications.
View Parts for Custom Views
To create custom view parts for a custom view, complete the following steps:
- Create a view that allows view parts
- Create one or more view parts to define the content area:
- Create a Windows Forms user control for the view part content
- Create a controller class that implements AbstractViewPartController
- Apply the following attributes to specify view part metadata:
- Set the
LocationByTypeproperty to target the view controller - Set the
Dockproperty toFillfor the main content area - Create additional view parts with appropriate docking (not
Fill)
See Integrating viewpart sample for an example.
View Parts for Trados Studio Views
To create view parts and integrate them into Trados Studio views, complete the following steps:
- Create a Windows Forms user control for the view part content
- Create a view part controller class that implements
AbstractViewPartController - Apply the following attributes to specify view part metadata:
- Set the
LocationByTypeproperty to target one of the following view controllers:
See Integrating viewpart sample for an example.