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

ASPxMenu.ItemWrap Property

Gets or sets a value that specifies whether the menu items can be wrapped.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(true)]
public bool ItemWrap { get; set; }

Property Value

Type Default Description
Boolean **true**

true, to enable item wrapping; otherwise, false.

Remarks

The ASPxMenu control wraps its items by default. Set the ItemWrap property to false to prevent item wrapping.

ASPxMenu_ItemWrap

Note

When the ASPxMenu.ItemAutoWidth property is set to true, items are rendered to extend their width according to the initial text. In this case, the ItemWrap property is not in effect.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemWrap property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also