[Expand]General Information
[Collapse]WinForms Controls
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Collapse]Spell Checker
   [Expand]Product Information
   [Expand]Getting Started
   [Expand]Visual Elements
   [Expand]Design-Time Features
     How to: Add Dictionaries at Runtime
     How to: Switch Between Languages
     How to: Use the SharedDictionaryStorage Component
     How to: Check Spelling of a Grid Cell
     How to: Turn On the Check-As-You-Type Mode
     How to: Add Spell Check Menu to the Standard Text Controls
     How to: Obtain a List of Commands for the Misspelled Word
     How To: Customize the Spelling Dialog
     How to: Customize the Spelling Options Dialog
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

How to: Customize the Spelling Options Dialog

The following example demonstrates how to customize the Spelling Options Dialog by doing the following.

  1. Handle the SpellChecker.OptionsFormShowing event. It is raised when the form is about to be shown.
  2. Retrieve the Spelling Options Dialog's form from the SpellChecker.FormsManager collection.
  3. Modify the form's Controls collection to hide default controls and/or to add custom one. To retrieve the desired default control, call the Find method.

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=T422124.

The image below demonstrates a customized Spelling Options Dialog.

Expanded Table of Controls

The code sample above utilizes default control names to access them. The following table gives names for all of these default controls owned by a Spelling Options dialog.

Element Caption Control Name
Spelling tab XtraTabControl xtraTabControl1
Spelling tab page XtraTabPage xtraTabPage1
Apply button SimpleButton btnApply
Cancel button SimpleButton btnCancel
OK button SimpleButton btnOK
General Options group GroupControl grpGeneral
Ignore E-mails check edit CheckEdit chkEmails
Ignore Words With MiXeDcASe check edit CheckEdit chkMixedCase
Ignore words with numbers check edit CheckEdit chkNumbers
Ignore repeated words check edit CheckEdit chkRepeatedWords
Ignore words in UPPERCASE check edit CheckEdit chkUpperCase
Ignore Internet and file addresses check edit CheckEdit chkWebSites
Edit Custom Dictionary group GroupControl grpEditCustomDic
Add, change or remove words from your custom dictionary Label lblChange
Edit button SimpleButton btnEditDictionary
International Dictionaries group GroupControl grpInternationDocs
Choose the dictionary to use when checking your spelling Label lblChooseDic
Language Label lblLanguage
Language combo box edit ComboBoxEdit cbLanguage

Is this topic helpful?​​​​​​​