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

TcxCustomDataController.OnDetailExpanding Event

In This Article

Occurs when the details of a particular master record are about to be expanded.

#Declaration

Delphi
property OnDetailExpanding: TcxDataDetailExpandingEvent read; write;

#Remarks

Handle the OnDetailExpanding event to control whether the details of a particular master record can be expanded.

The ADataController parameter specifies the data controller which fires the event.

The ARecordIndex parameter specifies the index of the master record whose details are about to be expanded.

Set the AAllow parameter to False to prevent details of the master record from being expanded. Otherwise, the details will be expanded (which is done by default).

Note

The OnDetailExpanded event is not fired when the AAllow parameter is set to False within the OnDetailExpanding event handler.

See Also