Sets or returns the maximum number of suggestions in the context menu.

Namespace:  C1.Win.C1Spell
Assembly:  C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)

Syntax

C#
[BrowsableAttribute(true)]
[DefaultValueAttribute()]
public int MaxMenuSuggests { get; set; }
Visual Basic (Declaration)
<BrowsableAttribute(True)> _
<DefaultValueAttribute()> _
Public Property MaxMenuSuggests As Integer

Remarks

The default value is 5. This menu appears when the user right-clicks the mouse button on the incorrect word during the check typing.

See also ShowDefaultContextMenu.

Examples

To set the maximum number of suggestions in the context menu to 6, use the following code:

  • Visual Basic
Copy CodeC#
Me.C1Spell1.MaxMenuSuggests = 6
  • C#
Copy CodeC#
this.c1Spell1.MaxMenuSuggests = 6;

See Also