Skip to main content

ReplaceMisspellingCommand(IRichEditControl, String) Constructor

Initializes a new instance of the ReplaceMisspellingCommand class with the specified owner.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public ReplaceMisspellingCommand(
    IRichEditControl control,
    string suggestion
)

Parameters

Name Type Description
control IRichEditControl

An object exposing the DevExpress.XtraRichEdit.IRichEditControl interface specifying the owner of the command (usually the RichEditControl).

suggestion String

A string that is the suggested word to substitute a misspelled word.

See Also