Fires immediately after a particular detail clone has become visible.
[DXCategory("MasterDetail")] public event CustomMasterRowEventHandler MasterRowExpanded
<DXCategory("MasterDetail")> Public Event MasterRowExpanded As CustomMasterRowEventHandler
The MasterRowExpanded event's data class is CustomMasterRowEventArgs. The following properties provide information specific to this event:
|RelationIndex||Gets the relation index that identifies the affected detail.|
|RowHandle||Gets the handle of the currently processed master row in the current View.|
The MasterRowExpanded event fires when expanding a master row or when switching between details. The master row can be determined using the CustomMasterRowEventArgs.RowHandle parameter. The detail can be identified using the CustomMasterRowEventArgs.RelationIndex parameter.
The MasterRowExpanded event serves as a notification only and cannot cancel the action. To control whether details can shown, handle the GridView.MasterRowExpanding event instead.
If you need to handle detail clones creation, handle the grid control’s GridControl.ViewRegistered event.
Please refer to the Master-Detail Relationships topic for additional information.