Class RadSpellChecker
Represents the spell checker component
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.SpellChecker.dll
Syntax
[TelerikToolboxCategory("Editors")]
public class RadSpellChecker : Component, IDisposable
Constructors
RadSpellChecker()
Declaration
public RadSpellChecker()
Properties
AutoSpellCheckControl
Checks as you type the specified TextBox control for spelling mistakes.
Declaration
public virtual object AutoSpellCheckControl { get; set; }
Property Value
System.Object
|
EnableCompleteMessageBox
Gets or set a value that determine whether the Complete Dialog Message Box is enabled
Declaration
public bool EnableCompleteMessageBox { get; set; }
Property Value
System.Boolean
|
FormSettings
Gets the form settings.
Declaration
public FormSettings FormSettings { get; }
Property Value
FormSettings
The form settings. |
SpellCheckMode
Gets or set the spell checking mode
Declaration
public SpellCheckMode SpellCheckMode { get; set; }
Property Value
SpellCheckMode
|
SpellingFormStartPosition
Gets or sets the start position of the spelling form.
Declaration
public FormStartPosition SpellingFormStartPosition { get; set; }
Property Value
System.Windows.Forms.FormStartPosition
|
ThemeName
Gets or sets control's preferred theme name. Themes are stored and retrieved using APIs of ThemeResolutionService.
Declaration
public string ThemeName { get; set; }
Property Value
System.String
|
Remarks
If ThemeResolutionService.ApplicatonThemeName refers to a non-empty string, the theme of a RadControl can differ from the one set using RadControls.ThemeName property. If the themes differ, the RadControls.ThemeName property will be overridden by ThemeResolutionService.ApplicatonThemeName. If no theme is registered with a name as ThemeResolutionService.ApplicatonThemeName, then control will revert to the theme specified by its ThemeName property. If ThemeName is assigned to a non-existing theme name, the control may have no visual properties assigned, which will cause it look and behave in unexpected manner. If ThemeName equals empty string, control's theme is set to a theme that is registered within ThemeResolutionService with the name "ControlDefault".
Methods
Check(Control)
Checks the specified edit control for spelling mistakes.
Declaration
public void Check(Control editControl)
Parameters
System.Windows.Forms.Control
editControl
The edit control. |
CheckAllAtOnce(IControlSpellChecker)
Declaration
protected virtual void CheckAllAtOnce(IControlSpellChecker spellChecker)
Parameters
IControlSpellChecker
spellChecker
|
CheckWordByWord(IControlSpellChecker)
Declaration
protected virtual void CheckWordByWord(IControlSpellChecker spellChecker)
Parameters
IControlSpellChecker
spellChecker
|
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
GetControlSpellChecker(Type)
Gets the control spell checker.
Declaration
public IControlSpellChecker GetControlSpellChecker(Type editControlType)
Parameters
System.Type
editControlType
Type of the edit control. |
Returns
IControlSpellChecker
|
OnSpellingFormShowing(SpellingFormShowingEventArgs)
Declaration
protected virtual void OnSpellingFormShowing(SpellingFormShowingEventArgs e)
Parameters
SpellingFormShowingEventArgs
e
|
RegisterControlSpellChecker(Type, IControlSpellChecker)
Registers an instance of IControlSpellChecker that is responsible for managing the spell checking of concrete type control
Declaration
public void RegisterControlSpellChecker(Type controlType, IControlSpellChecker spellChecker)
Parameters
System.Type
controlType
The type of control. |
IControlSpellChecker
spellChecker
The spell checker. |
SetAutoSpellChecker(Object)
Declaration
protected virtual bool SetAutoSpellChecker(object value)
Parameters
System.Object
value
|
Returns
System.Boolean
|
ShouldSerializeAutoSpellCheckControl(Object)
Declaration
public bool ShouldSerializeAutoSpellCheckControl(object value)
Parameters
System.Object
value
|
Returns
System.Boolean
|
Events
SpellingFormShowing
Occurs when the spelling form is about to be displayed.
Declaration
public event SpellingFormShowingEventHandler SpellingFormShowing
Event Type
SpellingFormShowingEventHandler
|