FormLayoutItemBase.Caption Property
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(null)]
[Parameter]
public string Caption { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | null | A string that specifies the caption. |
Remarks
A caption is a short description or explanation. You can specify a caption for a group, tab, or item:
<DxFormLayout>
<DxFormLayoutGroup Caption="Personal Information">
<DxFormLayoutItem Caption="First Name:" ColSpanMd="6">
@* ... *@
</DxFormLayoutItem>
</DxFormLayoutGroup>
<DxFormLayoutGroup Caption="Work Information" BeginRow="true">
<DxFormLayoutItem Caption="Position:" ColSpanMd="6">
@* ... *@
</DxFormLayoutItem>
</DxFormLayoutGroup>
</DxFormLayout>
To specify a custom layout for a group header, use the HeaderTemplate property.
See Also