Click or drag to resize
IControlPreviewType Interface
Interface implemented by preview types that provide controls, which can be shown in the host application for viewing the preview content.

Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface IControlPreviewType : IPreviewType

The IControlPreviewType type exposes the following members.

Properties
  NameDescription
Public propertySingleFilePreviewControlId
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.
Public propertySourceAndTargetPreviewControlId
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.
Public propertySourceGeneratorId
Identifier for the generator that can generate the source language file to be displayed using the preview.
(Inherited from IPreviewType.)
Public propertyTargetGeneratorId
Identifier for the generator that can generate the target language file to be displayed in the preview.
(Inherited from IPreviewType.)
Top
Remarks

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.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments