New to Telerik UI for WinForms? Start a free 30-day trial

Provides the selected item and menu before it is shown; setting the inherited Cancel property suppresses the menu.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PropertyGridContextMenuOpeningEventArgs : RadPropertyGridCancelEventArgs

Inheritance: objectEventArgsCancelEventArgsRadPropertyGridCancelEventArgsPropertyGridContextMenuOpeningEventArgs

Inherited Members RadPropertyGridCancelEventArgs.ItemCancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes event data for the item and context menu being opened.

C#
public PropertyGridContextMenuOpeningEventArgs(PropertyGridItemBase item, RadContextMenu contextMenu)
Parameters:itemPropertyGridItemBase

The item whose context menu is being opened.

contextMenuRadContextMenu

The menu associated with the item or table.

Properties

Gets the context menu that will be shown unless opening is canceled.

C#
public RadContextMenu Menu { get; }