Click or drag to resize
INavigablePreview Interface
Provides services for navigating in a preview, to highlight a specific segment in the preview, and to generate events when the user selects a segment in the preview.

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 INavigablePreview

The INavigablePreview type exposes the following members.

Properties
  NameDescription
Public propertyPreferredHighlightColor
Set by the host application to indicate the preferred color to be used for highlighting the current segment in the preview when NavigateToSegment(SegmentReference) is called.
Top
Methods
  NameDescription
Public methodNavigateToSegment
Called by the host application to request that the preview should scroll to the specified segment.
Top
Events
  NameDescription
Public eventSegmentSelected
Raised when the user interacts with the preview, selecting a different segment than the one that is currently highlighted.
Top
Remarks
Preview implementations may choose to provide only part of this functionality, e.g. they might let the host application highlight a segment, but may not support users selecting as segment in the preview. It is up to the implementation to choose what to support, and simply provide no implementation for the other parts of this interface.
See Also
Community
Edit

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