Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.OnParentSet Method

Invoked whenever the Parent of an element is set. Implement this method in order to add behavior when the element is added to a parent.

Syntax

protected override Void OnParentSet ()

Remarks

It is required to call the base implementation.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0