Skip to main content
A newer version of this page is available. .
Tab

MenuItem() Constructor

Initializes a new instance of the MenuItem class with default settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public MenuItem()

Remarks

Use this constructor to create a new MenuItem class instance without any specific settings such as the display text or an URL. This constructor is commonly used when dynamically populating the ASPxMenuBase.Items collection of ASPxMenuBase objects.

Note

When this constructor is used, all properties in the MenuItem object are set to their default values. Make sure to set the properties, as necessary, after creating the object.

See Also