Share via


Element.OnParentChanging(ParentChangingEventArgs) Method

Definition

When overridden in a derived class, should raise the ParentChanging event.

protected:
 virtual void OnParentChanging(Microsoft::Maui::Controls::ParentChangingEventArgs ^ args);
protected virtual void OnParentChanging (Microsoft.Maui.Controls.ParentChangingEventArgs args);
abstract member OnParentChanging : Microsoft.Maui.Controls.ParentChangingEventArgs -> unit
override this.OnParentChanging : Microsoft.Maui.Controls.ParentChangingEventArgs -> unit
Protected Overridable Sub OnParentChanging (args As ParentChangingEventArgs)

Parameters

args
ParentChangingEventArgs

Provides data for the ParentChanging event.

Remarks

It is the implementor's responsibility to raise the ParentChanging event.

Applies to