Skip to main content

BootstrapLayoutItem.BeginRow Property

Specifies whether a layout item should be rendered within a new row.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(false)]
public bool BeginRow { get; set; }

Property Value

Type Default Description
Boolean false

true, to render an item within a new row; otherwise, false.

Remarks

Bootstrap-FormLayout-BeginRow

<dx:BootstrapFormLayout runat="server">
    <Items>
        <dx:BootstrapLayoutItem Caption="Address" ColSpanSm="12">
            ...
        </dx:BootstrapLayoutItem>
        <dx:BootstrapLayoutItem Caption="City">
            ...
        </dx:BootstrapLayoutItem>
        <dx:BootstrapLayoutItem Caption="Postal/ZIP Code">
            ...
        </dx:BootstrapLayoutItem>
        <dx:BootstrapLayoutItem Caption="Country">
            ...
        </dx:BootstrapLayoutItem>
        <dx:BootstrapLayoutItem Caption="Address Type" BeginRow="true">
            <ContentCollection>
                <dx:ContentControl>
                    <dx:BootstrapRadioButton runat="server" Text="Home" GroupName="AddressTypeGroup">
                        <SettingsBootstrap InlineMode="true" />
                    </dx:BootstrapRadioButton>
                    <dx:BootstrapRadioButton runat="server" Text="Work" GroupName="AddressTypeGroup" Checked="true">
                        <SettingsBootstrap InlineMode="true" />
                    </dx:BootstrapRadioButton>
                </dx:ContentControl>
            </ContentCollection>
        </dx:BootstrapLayoutItem>
    </Items>
</dx:BootstrapFormLayout>

Note

View the Demo To see this feature in action, please refer to the following online demo: Item Wrapping.

See Also