Skip to main content

SpellChecker.SetShowSpellCheckMenu(Control, Boolean) Method

Specifies a value that determines whether the command that invokes the spell checker should be added to the control’s drop-down menu.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.XtraSpellChecker.v23.2.dll

NuGet Package: DevExpress.Win.SpellChecker

Declaration

public void SetShowSpellCheckMenu(
    Control control,
    bool showSpellCheckMenu
)

Parameters

Name Type Description
control Control

A control for which the option is determined.

showSpellCheckMenu Boolean

true if the spell checker item is present in a context menu; otherwise false.

Remarks

When this parameter is true, an extra menu item is appended to the drop-down menu, invoked when the user right-clicks the control. The SpellCheck menu command calls the spell checker for this control.

See Also