New to Telerik UI for WPFStart a free 30-day trial

Represents a dictionary of ignored words for proofing purposes.

Definition

Namespace:Telerik.Windows.Documents.Proofing

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class IgnoredWordDictionary : ObservableCollection<string>, IList<string>, ICollection<string>, IList, ICollection, IReadOnlyList<string>, IReadOnlyCollection<string>, IEnumerable<string>, IEnumerable, INotifyPropertyChanged, IIgnoredWordDictionary, INotifyCollectionChanged

Inheritance: objectCollection<string>ObservableCollection<string>IgnoredWordDictionary

Implements: ICollectionICollection<string>IEnumerableIEnumerable<string>IIgnoredWordDictionaryIListIList<string>INotifyCollectionChangedINotifyPropertyChangedIReadOnlyCollection<string>IReadOnlyList<string>...

Inherited Members ObservableCollection<string>.Move(int, int)ObservableCollection<string>.ClearItems()ObservableCollection<string>.RemoveItem(int)ObservableCollection<string>.InsertItem(int, string)ObservableCollection<string>.SetItem(int, string)ObservableCollection<string>.MoveItem(int, int)ObservableCollection<string>.OnPropertyChanged(PropertyChangedEventArgs)ObservableCollection<string>.OnCollectionChanged(NotifyCollectionChangedEventArgs)ObservableCollection<string>.BlockReentrancy()ObservableCollection<string>.CheckReentrancy()ObservableCollection<string>.CollectionChangedObservableCollection<string>.PropertyChangedCollection<string>.Add(string)Collection<string>.Clear()Collection<string>.CopyTo(string[], int)Collection<string>.Contains(string)Collection<string>.GetEnumerator()Collection<string>.IndexOf(string)Collection<string>.Insert(int, string)Collection<string>.Remove(string)Collection<string>.RemoveAt(int)Collection<string>.CountCollection<string>.ItemsCollection<string>.this[int]...

Constructors

C#
public IgnoredWordDictionary()

Methods

Adds a new word to the ignored word dictionary.

C#
public void AddWord(string word)
Parameters:wordstring

The word to be added to the ignored word list.

Implements: IIgnoredWordDictionary.AddWord(string)

Determines whether the specified word is contained in the ignored word dictionary.

C#
public bool ContainsWord(string word)
Parameters:wordstring

The word to check for existence in the ignored word dictionary.

Returns:

bool

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

Implements: IIgnoredWordDictionary.ContainsWord(string)

Removes a specified word from the ignored word dictionary.

C#
public bool RemoveWord(string word)
Parameters:wordstring

The word to be removed from the dictionary.

Returns:

bool

Returns true if the word was successfully removed; otherwise, false.

Implements: IIgnoredWordDictionary.RemoveWord(string)