Tab
A newer version of this page is available.

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

Declaration

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

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