Card Field Caption
Data source fields in a Layout View are represented by card fields arranged in a specific manner. Card field captions are non-editable regions that display the names of fields. The corresponding field values are displayed in card field value regions.
The following table lists the main properties affecting element appearance.
Appearance | The LayoutViewAppearances.FieldCaption property. The LayoutView.CustomFieldCaptionStyle event. |
Custom Drawing | The LayoutView.CustomDrawCardFieldCaption event. |
Contents | |
Size | The TextSize property of LayoutViewField objects. |
Visibility and Location | The TextVisible and TextLocation properties of LayoutViewField objects. |
Alignment Settings | The TextAlignMode property of LayoutViewField objects. |
Indent | The OptionsItemText.TextToControlDistance property of the LayoutView.TemplateCard object specifies the default caption indent for all fields. The TextToControlDistance property of individual LayoutViewField objects allows you to specify caption indents for specific fields. |