Skip to main content

TcxGridCustomEditFormOptions.CaptionMask Property

Specifies a caption for the modal Edit Form.

Declaration

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