Nevron.UI.WinForm.Controls Namespace / NDataGridView Class / RowContextMenuStripNeeded Event


In This Topic
    RowContextMenuStripNeeded Event
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatData")>
    <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
    <SRDescriptionAttribute("DataGridView_RowContextMenuStripNeededDescr")>
    Public Event RowContextMenuStripNeeded As System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventHandler
    'Usage
     
    
    Dim instance As NDataGridView
    Dim handler As System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventHandler
     
    AddHandler instance.RowContextMenuStripNeeded, handler
    [SRCategory("CatData")]
    [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
    [SRDescription("DataGridView_RowContextMenuStripNeededDescr")]
    public event System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventHandler RowContextMenuStripNeeded
    Event Data

    The event handler receives an argument of type System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventArgs containing data related to this event. The following DataGridViewRowContextMenuStripNeededEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets the shortcut menu for the row that raised the System.Windows.Forms.DataGridView.RowContextMenuStripNeeded event.  
    Gets the index of the row that is requesting a shortcut menu.  
    Requirements

    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

    See Also