Back to Devexpress

SpellChecker.SetShowSpellCheckMenu(Control, Boolean) Method

windowsforms-devexpress-dot-xtraspellchecker-dot-spellchecker-dot-setshowspellcheckmenu-x28-system-dot-windows-dot-forms-dot-control-system-dot-boolean-x29.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.SpellChecker

Declaration

csharp
public void SetShowSpellCheckMenu(
    Control control,
    bool showSpellCheckMenu
)
vb
Public Sub SetShowSpellCheckMenu(
    control As Control,
    showSpellCheckMenu As Boolean
)

Parameters

NameTypeDescription
controlControl

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

SpellChecker Class

SpellChecker Members

DevExpress.XtraSpellChecker Namespace