DataGrid::UnloadingRowDetails Event
Occurs when a row details element becomes available for reuse.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
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:
The row DetailsTemplate property value changes.
The row DetailsTemplate property value is nullptr and the RowDetailsTemplate property value changes.
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.