Skip to main content

SpellingSettings Class

Specifies spelling settings for a framework element.

Namespace: DevExpress.Xpf.SpellChecker

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

NuGet Package: DevExpress.Wpf.SpellChecker

Declaration

public class SpellingSettings :
    DependencyObject

Remarks

The SpellingSettings object enables you to specify settings for the container object and individual settings for editors in the container. The settings specified by the SpellingSettings have priority over the spell checker settings specified by the SpellChecker.OptionsSpelling property.

The following sample illustrates the use of the SpellingSettings class properties.

xmlns:dxspch="clr-namespace:DevExpress.Xpf.SpellChecker;assembly=DevExpress.Xpf.SpellChecker.v18.1"
<dxspch:SpellingSettings.SpellChecker>
    <Binding Path="SpellChecker"/>
</dxspch:SpellingSettings.SpellChecker>
<dxspch:SpellingSettings.CheckAsYouType>True</dxspch:SpellingSettings.CheckAsYouType>
<dxspch:SpellingSettings.ShowSpellCheckMenu>True</dxspch:SpellingSettings.ShowSpellCheckMenu>
<dxspch:SpellingSettings.UnderlineColor>Blue</dxspch:SpellingSettings.UnderlineColor>
<dxspch:SpellingSettings.UnderlineStyle>WavyLine</dxspch:SpellingSettings.UnderlineStyle>

For an example that illustrates how different settings are applied to the container element and to the editors located within that container, review the Check As You Type module of the WPF SpellChecker demo application.

Inheritance

See Also