Back to Devexpress

LayoutView.CardExpanded Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutview-d645fb3a.md

latest2.6 KB
Original Source

LayoutView.CardExpanded Event

Fires immediately after a card has been expanded.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Event Data

The CardExpanded 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 immediately after a card has been expanded either by an end-user or via code. The event serves as a notification only and the action can’t be cancelled. To control whether individual cards can be expanded, handle the LayoutView.CardExpanding event instead.

See Also

AllowExpandCollapse

CardCollapsed

CardCollapsing

CardExpanding

SetCardCollapsed(Int32, Boolean)

LayoutView Class

LayoutView Members

DevExpress.XtraGrid.Views.Layout Namespace