Skip to main content
Tab

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.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.

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