Tab
A newer version of this page is available. Switch to the current version.

RibbonGalleryBarItem.MaxTextWidth Property

Specifies the maximum width of the gallery item text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(typeof(Unit), "")]
public virtual Unit MaxTextWidth { get; set; }
<DefaultValue(GetType(Unit), "")>
Public Overridable Property MaxTextWidth As Unit

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