Skip to main content
All docs
V24.2
Tab

LayoutItemCaptionSettings.ChangeCaptionLocationInAdaptiveMode Property

Specifies whether to change the caption location of a layout item when the control is in Adaptive Grid Layout (Breakpoints) mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean ChangeCaptionLocationInAdaptiveMode { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

true, to change the caption location of a layout item when the control is in Adaptive Grid Layout mode.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ChangeCaptionLocationInAdaptiveMode
ASP.NET MVC Extensions FormLayoutSettings<ModelType>
.SettingsItemCaptions .ChangeCaptionLocationInAdaptiveMode
ASP.NET Web Forms Controls ASPxFormLayout
.SettingsItemCaptions .ChangeCaptionLocationInAdaptiveMode
FormLayoutProperties
.SettingsItemCaptions .ChangeCaptionLocationInAdaptiveMode
LayoutGroupBase
.SettingsItemCaptions .ChangeCaptionLocationInAdaptiveMode
LayoutItem
.CaptionSettings .ChangeCaptionLocationInAdaptiveMode

Remarks

Run Demo

Use the ChangeCaptionLocationAtWidth property to specify the width at which the caption location is changed. If the ChangeCaptionLocationAtWidth property is not specified, the control does not change the caption location.

<dx:ASPxFormLayout runat="server" ID="ASPxFormLayout" >
    <SettingsItemCaptions ChangeCaptionLocationInAdaptiveMode="True" />
    <Items>
        <dx:LayoutGroup Width="100%" Caption="Group name">
            <GridSettings ChangeCaptionLocationAtWidth="660">
                ...
            </GridSettings>
            <Items>
                <dx:LayoutItem Caption="First name" >
                    <CaptionSettings ChangeCaptionLocationInAdaptiveMode="Default" />
                    ...
                </dx:LayoutItem>
                ...
            </Items>
        </dx:LayoutGroup>
    </Items>
</dx:ASPxFormLayout>
See Also