Back to Devexpress

CardView.CardCollapsed Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-card-dot-cardview-baaf4841.md

latest2.3 KB
Original Source

CardView.CardCollapsed Event

Fires immediately after a card has been collapsed.

Namespace : DevExpress.XtraGrid.Views.Card

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DXCategory("Behavior")]
public event RowEventHandler CardCollapsed
vb
<DXCategory("Behavior")>
Public Event CardCollapsed As RowEventHandler

Event Data

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

PropertyDescription
RowHandleGets 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 after a card has been collapsed by an end-user or via code. Note that it only provides a notification and the action can’t be cancelled. To specify whether individual cards are allowed to be collapsed, handle the CardView.CardCollapsing event.

See Also

CardCollapsing

SetCardCollapsed(Int32, Boolean)

CollapseAll()

CardView Class

CardView Members

DevExpress.XtraGrid.Views.Card Namespace