corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckercommand.md
Performs an action of the corresponding type.
Namespace : DevExpress.XtraSpellChecker
Assembly : DevExpress.SpellChecker.v25.2.Core.dll
NuGet Package : DevExpress.SpellChecker.Core
public virtual void DoCommand()
Public Overridable Sub DoCommand
The DoCommand method initializes the DevExpress.XtraSpellChecker.Strategies.TextOperationsManager instance and performs an action of the corresponding type, specified by the SpellCheckerCommand.Operation value.
The following code snippets (auto-collected from DevExpress Examples) contain references to the DoCommand() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
how-to-add-spell-check-menu-items-to-the-standard-text-controls/CS/WpfApp1/MainWindow.xaml.cs#L42
menuItem.Header = command.Caption;
menuItem.Click += (s, args) => command.DoCommand();
menuItem.IsEnabled = command.Enabled;
how-to-add-spell-check-menu-items-to-the-standard-text-controls/VB/WpfApp1/MainWindow.xaml.vb#L41
AddHandler menuItem.Click, Sub(s, args) richEditCommand.DoCommand()
winforms-spreadsheet-spell-check-cell-text/VB/SpreadsheetSpellchecking/Form1.vb#L72
Dim checkerCommand = TryCast(e.Item.Tag, SpellCheckerCommand)
checkerCommand?.DoCommand()
End Sub
See Also