| IControlPreviewType Interface |
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
The IControlPreviewType type exposes the following members.
| Name | Description | |
|---|---|---|
| SingleFilePreviewControlId |
Identifier for the preview control used to display a single source or target preview file, or null
if no control has been specified for viewing single files in this preview.
| |
| SourceAndTargetPreviewControlId |
Identifier for the preview control used to display source and target preview files
side-by-side, or null if side-by-side preview is not supported for this preview type.
| |
| SourceGeneratorId |
Identifier for the generator that can generate the source language
file to be displayed using the preview.
(Inherited from IPreviewType.) | |
| TargetGeneratorId |
Identifier for the generator that can generate the target language
file to be displayed in the preview.
(Inherited from IPreviewType.) |
Two types of controls can be provided: single file and source and target (typically side-by-side). A control preview can provide either or both of these.
Host applications can check these preview control ids to determine which preview buttons/tabs should be available in the UI for a specific preview type.