Tab

ASPxMenu.ItemWrap Property

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

Namespace: DevExpress.Web

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

See Also