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

FormLayoutProperties.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.v18.2.dll


public virtual int LeftAndRightCaptionsWidth { get; set; }
Public Overridable Property LeftAndRightCaptionsWidth As Integer

Property Value

Type Default Description


A Int32 value that is the caption's width.


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

Form layout is rendered in the table and a layout item's captions are placed to the table cells. When the layout item's caption text is wider than the width LeftAndRightCaptionsWidth, the caption will stretch the table cell. The LeftAndRightCaptionsWidth doesn't crop or wrap the layout item's caption.

See Also