Method OnSuperViewChanging
OnSuperViewChanging(ValueChangingEventArgs<View?>)
Called when the SuperView of this View is about to be changed. This is called before the SuperView property is updated, allowing access to the current SuperView and its resources (such as App) for cleanup purposes.
protected virtual bool OnSuperViewChanging(ValueChangingEventArgs<View?> args)
Parameters
argsValueChangingEventArgs<View>Hold the new SuperView that will be set, or null if being removed.