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

RibbonGalleryProperties.MaxTextWidth Property

Specifies the maximum width of the gallery item text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(typeof(Unit), "")]
public virtual Unit MaxTextWidth { get; set; }

Property Value

Type Default Description
Unit String.Empty

A Unit value specifying the maximum item text width, in pixels.

Remarks

Use the MaxTextWidth property to limit the maximum width of the item text. You can specify a gallery item’s text using the ListEditItemBase.Text property.

ASPxRibbon_GalleryItemAndGroup

See Also