GridBreakpointSettings.WrapCaptionAtWidth Property
OBSOLETE
Use the ChangeCaptionLocationAtWidth property instead.
Gets or sets the width at which the Form Layout item’s caption is wrapped.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
[DefaultValue(0)]
[Obsolete("Use the ChangeCaptionLocationAtWidth property instead.")]
public int WrapCaptionAtWidth { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Int32 | 0 | An integer value specifying the control width. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to WrapCaptionAtWidth |
---|---|
FormLayoutAdaptivitySettings |
|
LayoutGroup |
|
Remarks
The WrapCaptionAtWidth property is in effect if the LayoutItemCaptionSettings.AllowWrapCaption property is set to true
.
<dx:ASPxFormLayout runat="server" ID="ASPxFormLayout" Width="100%" ClientInstanceName="FormLayout">
<Items>
<dx:LayoutGroup Width="100%" Caption="Registration Form" ColumnCount="3">
<GridSettings StretchLastItem="true" WrapCaptionAtWidth="660">
<Breakpoints>
<dx:LayoutBreakpoint MaxWidth="500" ColumnCount="1" Name="S" />
<dx:LayoutBreakpoint MaxWidth="800" ColumnCount="2" Name="M" />
</Breakpoints>
</GridSettings>
<Items>
...
</Items>
</dx:LayoutGroup>
</Items>
</dx:ASPxFormLayout>
Concept
Online Demo
Form Layout - Adaptive Grid Layout
See Also