Redigera

Dela via


DataGrid.OnRowDetailsVisibilityChanged(DataGridRowDetailsEventArgs) Method

Definition

Raises the RowDetailsVisibilityChanged event.

protected public:
 virtual void OnRowDetailsVisibilityChanged(System::Windows::Controls::DataGridRowDetailsEventArgs ^ e);
protected internal virtual void OnRowDetailsVisibilityChanged (System.Windows.Controls.DataGridRowDetailsEventArgs e);
abstract member OnRowDetailsVisibilityChanged : System.Windows.Controls.DataGridRowDetailsEventArgs -> unit
override this.OnRowDetailsVisibilityChanged : System.Windows.Controls.DataGridRowDetailsEventArgs -> unit
Protected Friend Overridable Sub OnRowDetailsVisibilityChanged (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 OnRowDetailsVisibilityChanged 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 OnRowDetailsVisibilityChanged(DataGridRowDetailsEventArgs) in a derived class, be sure to call the base class' OnRowDetailsVisibilityChanged(DataGridRowDetailsEventArgs) method so that registered delegates receive the event.

Applies to