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

CardView.CardExpanded Event

Fires immediately after a card has been expanded.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

[DXCategory("Behavior")]
public event RowEventHandler CardExpanded

#Event Data

The CardExpanded event's data class is RowEventArgs. The following properties provide information specific to this event:

Property Description
RowHandle Gets the row’s handle (position). For the ColumnView.RowUpdated event, this property specifies the previous handle (position) of the currently processed row. NewItemRowHandle value when a new row is added.

#Remarks

This event is raised immediately after a card has been expanded either by an end-user or via code. Note that the event serves as a notification only and the action can’t be cancelled. To control whether individual cards can be expanded, handle the CardView.CardExpanding event instead.

See Also