New to Telerik UI for WinForms? Start a free 30-day trial

Identifies a word in a text control by its spelling and character position.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.SpellChecker.dll

Syntax:

C#
public class TextBoxWordInfo : IWordInfo

Inheritance: objectTextBoxWordInfo

Implements: IWordInfo

Constructors

Creates word information for a spelling at the specified text position.

C#
public TextBoxWordInfo(string word, int startPosition)
Parameters:wordstring

The spelling found in the text.

startPositionint

The zero-based character index where the spelling begins.

Properties

Gets or sets the zero-based character index where Word begins in the text.

C#
public int StartPosition { get; set; }

Gets the spelling associated with this position.

C#
public string Word { get; }

Implements: IWordInfo.Word