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 |
|
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ChangeCaptionLocationInAdaptiveMode |
---|---|---|
ASP.NET MVC Extensions | FormLayoutSettings<ModelType> |
|
ASP.NET Web Forms Controls | ASPxFormLayout |
|
FormLayoutProperties |
|
|
LayoutGroupBase |
|
|
LayoutItem |
|
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>
See Also