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.v20.2.dll
NuGet Package: DevExpress.Web
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 | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Property Paths
You can access this nested property as listed below:
Remarks
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>