Interface
IIgnoredWordDictionary

Represents a dictionary of ignored words for proofing purposes.

Definition

Namespace:Telerik.Windows.Documents.Proofing

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public interface IIgnoredWordDictionary : INotifyCollectionChanged

Inherited Members INotifyCollectionChanged.CollectionChanged

Methods

AddWord(string)

Adds a word to the ignored word dictionary.

Declaration

cs-api-definition
void AddWord(string word)

Parameters

word

string

The word to be added to the ignored word list.

Clear()

Clears all entries from the ignored word dictionary.

Declaration

cs-api-definition
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

cs-api-definition
bool ContainsWord(string word)

Parameters

word

string

The word to check for in the ignored word dictionary.

Returns

bool

true if the word is found in the dictionary; otherwise, false.

RemoveWord(string)

Removes a specified word from the ignored word dictionary.

Declaration

cs-api-definition
bool RemoveWord(string word)

Parameters

word

string

The word to be removed from the dictionary.

Returns

bool

True if the word was successfully removed; otherwise, false.