DataGrid.LoadingRowDetails Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Event Type
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:
The row DetailsTemplate property value changes.
The row DetailsTemplate property value is
null
and the RowDetailsTemplate property value changes.
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.