Class SpellEditorWrapper
Implements ISpellEditor interface to interact with instance of System.Windows.Forms.TextBoxBase.
Inheritance
System.Object
SpellEditorWrapper
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Text
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class SpellEditorWrapper : ISpellEditor
Constructors
SpellEditorWrapper(TextBoxBase)
Initializes a new instance of SpellEditorWrapper class that hosts the System.Windows.Forms.TextBoxBase control.
Declaration
public SpellEditorWrapper(TextBoxBase control)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.TextBoxBase | control |
Properties
Control
Gets or sets the Control whose
Declaration
public Control Control { get; set; }
Property Value
Type |
---|
System.Windows.Forms.Control |
CurrentWord
Gets or sets the current misspelled word.
Declaration
public string CurrentWord { get; set; }
Property Value
Type |
---|
System.String |
Text
Gets or sets the Text to be spell checked by the SpellChecker
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
Methods
SelectText(Int32, Int32)
Selects the word specified by the index.
Declaration
public void SelectText(int selectionStart, int selectionLength)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | selectionStart | |
System.Int32 | selectionLength |