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

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