Skip to main content

PopupMenuShowingEventArgs(SpreadsheetPopupMenu, SpreadsheetMenuType) Constructor

Initializes a new instance of the PopupMenuShowingEventArgs class with the specified parameters.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.1.dll

NuGet Package: DevExpress.Win.Spreadsheet

Declaration

public PopupMenuShowingEventArgs(
    SpreadsheetPopupMenu menu,
    SpreadsheetMenuType menuType
)

Parameters

Name Type Description
menu DevExpress.XtraSpreadsheet.Menu.SpreadsheetPopupMenu

The SpreadsheetPopupMenu object which represents the context menu to be invoked.

menuType SpreadsheetMenuType

One of the SpreadsheetMenuType enumeration values specifying the type of the context menu.

Remarks

Instances of the PopupMenuShowingEventArgs class are automatically created, initialized and passed to the SpreadsheetControl.PopupMenuShowing event handlers. There is no need to call this constructor directly from your code.

See Also