Provides data for the Menu.MenuItemClick and Menu.MenuItemDataBound events of a System.Web.UI.WebControls.Menu control. This class cannot be inherited.
See Also: MenuEventArgs Members
The System.Web.UI.WebControls.MenuEventArgs class is used to store the event data passed to an event handler for the events in the following table.
Menu.MenuItemClick |
Occurs when a menu item is clicked. This event is commonly used to synchronize a System.Web.UI.WebControls.Menu control with another control on the page. |
Menu.MenuItemDataBound |
Occurs when a menu item is bound to data. This event is commonly used to modify a menu item before it is rendered in a System.Web.UI.WebControls.Menu control. |
Depending on the event raised, you can access the menu item clicked by the user or the menu item being bound to data by using the MenuEventArgs.Item property.
For a list of initial property values for an instance of the System.Web.UI.WebControls.MenuEventArgs class, see the MenuEventArgs.#ctor(MenuItem) constructor.