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

TcxGridCardView.OnRowCollapsing Event

In This Article

Fires when a category row is about to be collapsed.

#Declaration

Delphi
property OnRowCollapsing: TcxGridCardRowChangingEvent read; write;

#Remarks

The OnRowCollapsing event fires when the category row starts collapsing either by end-user action or via code (by setting the row’s Expanded property to False).

Implement the OnRowCollapsing event handler to provide custom behavior when the category row is about to be collapsed. For instance, you can handle this event to prevent the category row from unnecessarily collapsing.

The Sender parameter specifies the Card View to which the category row belongs;

ARow specifies the category row that is about to be collapsed;

The AAllow parameter specifies whether ARow will be collapsed. Set the AAllow parameter to False to prevent ARow from collapsing.

See Also