Interface IIgnoredWordDictionary
Represents a dictionary of ignored words for proofing purposes.
Namespace: Telerik.Windows.Documents.Proofing
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public interface IIgnoredWordDictionary : INotifyCollectionChanged
Remarks
This interface provides methods to manage a collection of words that should be ignored during spell checking and other proofing operations.
Methods
AddWord(String)
Adds a word to the ignored word dictionary.
Declaration
void AddWord(string word)
Parameters
System.String
word
The word to be added to the ignored word list. |
Clear()
Clears all entries from the ignored word dictionary.
Declaration
void Clear()
Remarks
This method removes every word that has been added to the ignored word list, resetting it to an empty state.
ContainsWord(String)
Determines whether the specified word is contained in the ignored word dictionary.
Declaration
bool ContainsWord(string word)
Parameters
System.String
word
The word to check for in the ignored word dictionary. |
Returns
System.Boolean
true if the word is found in the dictionary; otherwise, false. |
RemoveWord(String)
Removes a specified word from the ignored word dictionary.
Declaration
bool RemoveWord(string word)
Parameters
System.String
word
The word to be removed from the dictionary. |
Returns
System.Boolean
True if the word was successfully removed; otherwise, false. |