Skip to main content
All docs
V19.2
Tab

LayoutItemBase.ColSpan Property

Gets or sets the number of columns that the layout item spans. This property is not in effect in adaptive mode, use the LayoutItemBase.Width property instead.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public virtual int ColSpan { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the number of columns in the parent container that the layout item spans.

Remarks

Note

When the Form Layout is used in adaptive mode (the FormLayoutAdaptivitySettings.AdaptivityMode property is not set to Off), the ColSpan property value is ignored, and the LayoutItemBase.Width property setting specifying the item width in percents is used instead. The LayoutItemBase.RowSpan property is not supported in the Form Layout’s adaptive mode.

See Also