MenuItemCommandEventArgs(MenuItem, Object, CommandEventArgs) Constructor

Initializes a new instance of the MenuItemCommandEventArgs class.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll


public MenuItemCommandEventArgs(
    MenuItem item,
    object commandSource,
    CommandEventArgs originalArgs


Name Type Description
item MenuItem

A MenuItem object representing a menu item related to the generated event.

commandSource Object

A Object identifying the source of the command.

originalArgs CommandEventArgs

A CommandEventArgs object that contains an argument for the command.


Instances of the MenuItemCommandEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also