Partager via


DataGrid.UnloadingRowGroup Event

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

Occurs when a row group is unloading.

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

Syntax

'Declaration
Public Event UnloadingRowGroup As EventHandler(Of DataGridRowGroupHeaderEventArgs)
public event EventHandler<DataGridRowGroupHeaderEventArgs> UnloadingRowGroup

Remarks

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

#XAML Attribute Usage

<sdk:DataGrid UnloadingRowGroup="eventHandler"/>

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.