Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataGrid.UnloadingRowDetails Event

Occurs when a row details element becomes available for reuse.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

member UnloadingRowDetails : IEvent<EventHandler<DataGridRowDetailsEventArgs>,
    DataGridRowDetailsEventArgs>
<object UnloadingRowDetails="EventHandler<DataGridRowDetailsEventArgs>" .../>

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

This event enables you to make any necessary changes to the row details element before it is reused. You will typically use this event to undo any changes that were made in a LoadingRowDetails event handler.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft