Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PopupMenuShowingEventArgs(SpreadsheetPopupMenu, SpreadsheetMenuType) Constructor

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.2.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