Επεξεργασία

Κοινή χρήση μέσω


DataGrid.OnLoadingRow(DataGridRowEventArgs) Method

Definition

Raises the LoadingRow event.

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

Parameters

e
DataGridRowEventArgs

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 OnLoadingRow 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 OnLoadingRow(DataGridRowEventArgs) in a derived class, be sure to call the base class' OnLoadingRow(DataGridRowEventArgs) method so that registered delegates receive the event.

Applies to