DataGrid.OnUnloadingRowDetails(DataGridRowDetailsEventArgs) Method

Definition

Raises the UnloadingRowDetails event.

protected:
 virtual void OnUnloadingRowDetails(System::Windows::Controls::DataGridRowDetailsEventArgs ^ e);
protected virtual void OnUnloadingRowDetails (System.Windows.Controls.DataGridRowDetailsEventArgs e);
abstract member OnUnloadingRowDetails : System.Windows.Controls.DataGridRowDetailsEventArgs -> unit
override this.OnUnloadingRowDetails : System.Windows.Controls.DataGridRowDetailsEventArgs -> unit
Protected Overridable Sub OnUnloadingRowDetails (e As DataGridRowDetailsEventArgs)

Parameters

e
DataGridRowDetailsEventArgs

The data for the event.

Remarks

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

The OnUnloadingRowDetails method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors

When overriding OnUnloadingRowDetails(DataGridRowDetailsEventArgs) in a derived class, be sure to call the base class' OnUnloadingRowDetails(DataGridRowDetailsEventArgs) method so that registered delegates receive the event.

Applies to