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

TcxGridCustomEditFormOptions.CaptionMask Property

Specifies a caption for the modal Edit Form.

#Declaration

Delphi
property CaptionMask: string read; write;

#Property Value

Type Description
string

An Edit Form’s caption.

#Remarks

Use this property to assign a custom caption to the modal Edit Form. The modal form allows you to apply a cell’s value to the caption. Enclose a column’s caption in square brackets as shown in the code example below:

  cxGrid1DBTableView1.EditForm.CaptionMask := '[Trademark][Model]';

Cell Value as Caption

The CaptionMask property’s default value is an empty string.

See Also