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

TcxCustomEdit.InplaceParams Field

Represents in-place edit parameters.

#Declaration

Delphi
InplaceParams: TcxInplaceEditParams

#Field Value

Type
TcxInplaceEditParams

#Remarks

Use the InplaceParams property to obtain the following information:

  • Determine whether the parent container can simultaneously display data of the bound item in multiple rows (the InplaceParams.MultiRowParent field).

  • Identify the record that owns the edit value (the InplaceParams.Position.RecordIndex field).

  • Access the item to which the edit value belongs (the InplaceParams.Position.Item field).

The following example demonstrates how the corresponding record index of a selected data cell can be obtained when an in-place editor’s button is clicked:

Delphi
//...
procedure <TForm1>.<cxGrid1DBTableView1PictureProperties>ButtonClick(Sender: TObject; AButtonIndex: Integer);
var
  ARecordIndex: Integer;
begin
  ARecordIndex := TcxButtonEdit(Sender).InplaceParams.Position.RecordIndex;
end;
See Also