Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.SizeChanged Event

Occurs when either the Width or the Height properties change value on this element.

Syntax

public event EventHandler SizeChanged

Remarks

Classes should implement VisualElement.OnSizeAllocated (double, double) if they wish to respond to size change events directly.

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