DataGrid.LoadingRowDetails Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs when a new row details template is applied to a row, so that you can customize the details section before it is used.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

Syntax

'Declaration
Public Event LoadingRowDetails As EventHandler(Of DataGridRowDetailsEventArgs)
public event EventHandler<DataGridRowDetailsEventArgs> LoadingRowDetails
<sdk:DataGrid LoadingRowDetails="eventhandler"/>

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.