TextHighlighter TextHighlighter TextHighlighter TextHighlighter Class

Definition

Represents an object that highlights one or more ranges of text.

public : class TextHighlighter
struct winrt::Windows::UI::Xaml::Documents::TextHighlighter
public class TextHighlighter
Public Class TextHighlighter
Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Constructors

TextHighlighter() TextHighlighter() TextHighlighter() TextHighlighter()

Initializes a new instance of the TextHighlighter class.

Properties

Background Background Background Background

Gets or sets the brush used to highlight the text.

BackgroundProperty BackgroundProperty BackgroundProperty BackgroundProperty

Identifies the Background dependency property.

Foreground Foreground Foreground Foreground

Gets or sets the brush used to color highlighted text.

ForegroundProperty ForegroundProperty ForegroundProperty ForegroundProperty

Identifies the Foreground dependency property.

Ranges Ranges Ranges Ranges

Gets the text ranges to highlight.