Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.HyphenationDictionaries Property

Provides access to the collection of hyphenation dictionaries.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v24.2.dll

NuGet Package: DevExpress.Wpf.RichEdit

#Declaration

public ICollection<IHyphenationDictionary> HyphenationDictionaries { get; }

#Property Value

Type Description
ICollection<IHyphenationDictionary>

A collection of objects that implement the IHyphenationDictionary interface.

#Remarks

The RichEditControl supports the following hyphenation dictionaries:

Note that the Document.Hyphenation property has no effect without dictionaries.

The code sample below adds two dictionaries to the dictionary collection:

CustomHyphenationDictionary exceptionsDictionary = new CustomHyphenationDictionary("hyphen_exc.dic", new System.Globalization.CultureInfo("EN-US"));
richEditControl.HyphenationDictionaries.Add(exceptionsDictionary);

OpenOfficeHyphenationDictionary hyphenationDictionary = new OpenOfficeHyphenationDictionary("hyph_sl_SI.dic", new System.Globalization.CultureInfo("sl-SL"));
richEditControl.HyphenationDictionaries.Add(hyphenationDictionary);
See Also