New to Telerik UI for WPFStart a free 30-day trial

Structure representing a word inside text.

Definition

Namespace:Telerik.Windows.Documents.Utils

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public struct LayoutTokenizer.LayoutWord

Inherited Members ValueType.Equals(object)ValueType.GetHashCode()ValueType.ToString()

Constructors

Initializes a new instance of the LayoutTokenizer.LayoutWord struct.

C#
public LayoutWord(string word, int indexInText, bool containsDigits, bool containsLetters, bool onlyUpperLetters, bool isDecimal, bool isRtl, bool isSingleSymbol)
Parameters:wordstringindexInTextintcontainsDigitsboolcontainsLettersboolonlyUpperLettersboolisDecimalboolisRtlboolisSingleSymbolbool

Initializes a new instance of the LayoutTokenizer.LayoutWord struct.

C#
public LayoutWord(string word, int indexInText, bool containsDigits, bool containsLetters, bool onlyUpperLetters, bool isDecimal, bool isRtl)
Parameters:wordstringindexInTextintcontainsDigitsboolcontainsLettersboolonlyUpperLettersboolisDecimalboolisRtlbool

Fields

Determines whether the word contains digits.

C#
public bool ContainsDigits

Determines whether the word contains letters.

C#
public bool ContainsLetters

The index of the word inside the text.

C#
public int IndexInText

Determines whether the word is a decimal.

C#
public bool IsDecimal

Determines whether the word is in right-to-left.

C#
public bool IsRtl

Determines whether the word contains a single symbol.

C#
public bool IsSingleSymbol

Determines whether the word contains only upper-case letters.

C#
public bool OnlyUpperLetters

The word.

C#
public string Word