GrapeCity.Win.MultiRow Namespace : CellContextMenuStripNeededEventArgs Class |
Public Class CellContextMenuStripNeededEventArgs Inherits CellEventArgs
Dim instance As CellContextMenuStripNeededEventArgs
public class CellContextMenuStripNeededEventArgs : CellEventArgs
You can use this class to customize the context strip menu which is used by the cell. When the cell gets its context menu, the GcMultiRow.CellContextMenuStripNeeded event is raised. Use this event and this class to set a custom context strip menu for the Cell.
If you do not assign a context menu to ContextMenuStrip, the cell's context menu will use the section's context menu from SectionContextMenuStripNeededEventArgs.ContextMenuStrip.
The GcMultiRow.CellContextMenuStripNeeded event only can be fired when the GcMultiRow.VirtualMode property is true or the GcMultiRow.DataSource property is not a null reference (Nothing in Visual Basic).
System.Object
System.EventArgs
GrapeCity.Win.MultiRow.CellEventArgs
GrapeCity.Win.MultiRow.CellContextMenuStripNeededEventArgs
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2