Search Results for

    Show / Hide Table of Contents

    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:
      • ViewPartAttribute
      • ViewPartLayoutAttribute
    • Set the LocationByType property to target the view controller
    • Set the Dock property to Fill for 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:
      • ViewPartAttribute
      • ViewPartLayoutAttribute
    • Set the LocationByType property to target one of the following view controllers:
      • ProjectsController
      • FilesController
      • EditorController

    See Integrating viewpart sample for an example.

    • Improve this Doc
    In this article
    Back to top Generated by DocFX