SelectableWordSegment SelectableWordSegment SelectableWordSegment SelectableWordSegment SelectableWordSegment Class

Definition

Represents a segment from your provided text that includes a word and any trailing whitespace and/or punctuation after this word.

public : sealed class SelectableWordSegment
struct winrt::Windows::Data::Text::SelectableWordSegment
public sealed class SelectableWordSegment
Public NotInheritable Class SelectableWordSegment
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Your code does not instantiate this class directly. Instead, you use instances retrieved from a SelectableWordsSegmenter object.

Properties

SourceTextSegment SourceTextSegment SourceTextSegment SourceTextSegment SourceTextSegment

Gets the TextSegment that identifies the source text's sub-string that is the selected word.

Text Text Text Text Text

Gets the text of the selected word identified by this SelectableWordSegment object.