TcxGridCardView.OnRowCollapsing Event
Fires when a category row is about to be collapsed.
Declaration
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