Tab

MenuItem() Constructor

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.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