Skip to main content
Tab

ASPxFormLayout.LeftAndRightCaptionsWidth Property

Gets or sets the width of captions that are displayed to the left or right of the nested control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(0)]
public virtual int LeftAndRightCaptionsWidth { get; set; }

Property Value

Type Default Description
Int32 0

A Int32 value that is the caption’s width.

Remarks

Use this property to get or set the width of captions displayed to the left or right of all nested controls.

ASPxFormLayout is rendered in the table and LayoutItem’s captions are placed to the table cells. When the LayoutItem’s caption text is wider than the width LeftAndRightCaptionsWidth, the caption will stretch the table cell. The LeftAndRightCaptionsWidth doesn’t crop or wrap the LayoutItem’s caption.

See Also