Back to Devexpress

ASPxGridView.DetailRowExpandedChanged Event

aspnet-devexpress-dot-web-dot-aspxgridview-6c6d2250.md

latest2.1 KB
Original Source

ASPxGridView.DetailRowExpandedChanged Event

Occurs after a master row has been expanded or collapsed.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxGridViewDetailRowEventHandler DetailRowExpandedChanged
vb
Public Event DetailRowExpandedChanged As ASPxGridViewDetailRowEventHandler

Event Data

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

PropertyDescription
ExpandedGets whether the row has been expanded or collapsed.
VisibleIndexGets a value that identifies the master row whose expanded state has been changed.

Remarks

The event parameter’s ASPxGridViewDetailRowEventArgs.VisibleIndex property identifies the master row whose detail row has been displayed or hidden. To return whether the row has been expanded or collapsed, use the ASPxGridViewDetailRowEventArgs.Expanded property.

Note that the DetailRowExpandedChanged event is not fired when the WebDataDetailRows.ExpandRowByKey method is called.

See Also

Grid View

ASPxGridView Class

ASPxGridView Members

DevExpress.Web Namespace