Description
Display the content of the article elements in the preview.
Namespace
xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"
Members
Example
<l:FlowDocumentPreviewControl
Grid.Row="7"
Grid.ColumnSpan="2"
FontSize="14"
l:Highlights.IsHighlightTarget="True"
VerticalScrollBarVisibility="Auto"
IsSliderVisible="False"
ObjectId="{Binding Path=[image.id]}"
Text="{Binding Path=[image.summary]}"
/>
Changes in version 1.5
HighlightTextBlock in Preview for FlowDocumentPreviewControl is enhanced in version 1.5. It is now possible to control how the words matched in a full-text search are highlighted in the listings and previews. This is achieved by modifying the SysRunHighlightStyle and SysSpanHighlightStyle styles contained in the WinClientResources configuration file, that are applied to the words matched by the fulltext search in HighlightTextBlock and FlowDocumentPreviewControl respectively. The default configuration makes the words Bold and Red:
<Style x:Key="SysRunHighlightStyle" TargetType="{x:Type Run}">
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Foreground" Value="Red"/>
</Style>
<Style x:Key="SysSpanHighlightStyle" TargetType="{x:Type Span}">
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Foreground" Value="Red"/>
</Style>
See also
EdFlowDocumentPreviewControl class