MGShowPopup

Top  Previous  Next

This event is fired when the popup menu is displayed for the grid in readonly mode.

[Visual Basic .NET]

Public Event MGShowPopup(ByVal s As Object, ByVal e As ShowPopupEventArgs)

[C#]

public event MGShowPopup(object s, ShowPopupEventArgs e);

Parameters

s

    Specifies the sender object.

 

e

    is the object of ShowPopupEventArgs Class with the following members:

1.GridIndex specifies the index of current active grid. -1 indicates the full grid; for a sub grid, this member's value must be between 0 and the return value of GetTotalSubGrids() minus 1.

2.SectionIndex specifies the section index (0-based). If the AllowSections is set to FALSE or the active grid is a sub grid, this parameter becomes irrelevant.

3.RowIndex specifies the current index (0-based) of the row where popup menu shows via right-clicking.

4.RowTag specifies the tag of the row where popup menu shows via right-clicking.

5.X specifies X-coordinate of right-clicking.

6.Y specifies Y-coordinate of right-clicking.