Description
Highlights the HighlightText property according to the full text search words. Use it in the fields that are searched on in the full-text queries.
Namespace
xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"
Members
Style | Sets the style. Can be ShellInfoDescriptionStyle or ShellInfoValueStyle. |
HighlightText | Text to be displayed with highlights. |
Grid | Position. |
Margin | Margin. |
FontStyle | Font style, e.g. Italic, Bold. |
FontSize | Gets or sets the font size for the content of the element, Defaults to px, accepts also in, cm, pt. |
Example
<l:HighlightTextBlock
Style="{DynamicResource ShellInfoDescriptionStyle}"
HighlightText="{Binding Path=[event.description]}"
Grid.Row="2"
Grid.ColumnSpan="2"
/>
<l:HighlightTextBlock
Style="{DynamicResource ShellInfoValueStyle}"
Grid.Row="0"
Grid.Column="1"
HighlightText="{Binding Path=[event.creationDate]}"
/>
<l:HighlightTextBlock
Style="{DynamicResource ShellInfoValueStyle}"
HighlightText="{Binding Path=[contact.busCountryCode]}"
Grid.Row="14"
Grid.Column="0"
Grid.ColumnSpan="2"
Margin="0,6,0,6"
FontStyle="Italic"
FontSize="12"/>