Skip to main content
All docs
V21.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.v21.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
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Show 55 property paths
Library Object Type Path to ChangeCaptionLocationInAdaptiveMode
ASP.NET Bootstrap Controls BootstrapCardViewColumnLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
BootstrapCardViewCommandLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
BootstrapCardViewFormLayoutProperties
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
BootstrapCardViewLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
BootstrapCardViewTabbedLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
BootstrapEditModeCommandLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
BootstrapFormLayout
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
BootstrapFormLayoutProperties
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
BootstrapGridViewColumnLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
BootstrapGridViewFormLayoutProperties
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
BootstrapGridViewLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
BootstrapGridViewTabbedLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
BootstrapLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
BootstrapLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
BootstrapTabbedLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
ASP.NET MVC Extensions FormLayoutSettings<ModelType>
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxCardViewColumnLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
MVCxCardViewFormLayoutProperties
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxCardViewLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxCardViewTabbedLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxFormLayout
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxFormLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxFormLayoutGroup<ModelType>
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxFormLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
MVCxGridViewColumnLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
MVCxGridViewFormLayoutProperties
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxGridViewFormLayoutProperties<ModelType>
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxGridViewLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxGridViewLayoutGroup<ModelType>
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxGridViewTabbedLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxGridViewTabbedLayoutGroup<ModelType>
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxTabbedFormLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
MVCxTabbedFormLayoutGroup<ModelType>
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
ASP.NET Web Forms Controls ASPxFormLayout
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
CardViewColumnLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
CardViewCommandLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
CardViewFormLayoutProperties
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
CardViewLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
CardViewTabbedLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
ColumnLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
CommandLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
ContentPlaceholderLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
EditModeCommandLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
FormLayoutProperties
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
GridFormLayoutProperties
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
GridLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
GridTabbedLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
GridViewColumnLayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
GridViewFormLayoutProperties
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
GridViewLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
GridViewTabbedLayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
LayoutGroup
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
LayoutGroupBase
.SettingsItemCaptions.ChangeCaptionLocationInAdaptiveMode
LayoutItem
.CaptionSettings.ChangeCaptionLocationInAdaptiveMode
TabbedLayoutGroup
.SettingsItemCaptions.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