DataGrid.LoadingRowDetails Event

Definition

Occurs when a new row details template is applied to a row.

public:
 event EventHandler<System::Windows::Controls::DataGridRowDetailsEventArgs ^> ^ LoadingRowDetails;
public event EventHandler<System.Windows.Controls.DataGridRowDetailsEventArgs> LoadingRowDetails;
member this.LoadingRowDetails : EventHandler<System.Windows.Controls.DataGridRowDetailsEventArgs> 
Public Custom Event LoadingRowDetails As EventHandler(Of DataGridRowDetailsEventArgs) 
Public Event LoadingRowDetails As EventHandler(Of DataGridRowDetailsEventArgs) 

Remarks

This event occurs one time for each row to which a new row details template is applied. A new details template is applied to a row in one of the following cases:

This event enables you to make any necessary changes to the row details element before it is used. To undo these customizations before the row details element is reused, handle the UnloadingRowDetails event.

Applies to

See also