Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.

 

LayoutView_VE_CardFieldCaption

 

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

GridColumn.Caption

LayoutView.FieldCaptionFormat

LayoutViewColumn.Image

LayoutViewColumn.ImageIndex

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.