Spread Windows Forms 7.0 Product Documentation
ShowContextMenu Property
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > EditBase Class : ShowContextMenu Property


Glossary Item Box

Gets or sets a value that indicates whether to pop up the context menu of the control.

Syntax

Visual Basic (Declaration) 
Public Property ShowContextMenu As Boolean
Visual Basic (Usage)Copy Code
Dim instance As EditBase
Dim value As Boolean
 
instance.ShowContextMenu = value
 
value = instance.ShowContextMenu
C# 
public bool ShowContextMenu {get; set;}

Property Value

true if the context menu is shown when right-clicking the control; otherwise, false.
The default is true.

Remarks

This property determines whether to show the context menu. If the ContextMenu or ContextMenuStrip is not none, this control displays this special menu. If both values are none, the default context menu is displayed.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.