Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.Bounds Property

Gets the bounds of the element.

Syntax

public Rectangle Bounds { get; }

See Also

Value

The bounds of an element, in device-independent units.

Remarks

Bounds is assigned during the Layout cycle by a call to VisualElement.Layout(Rectangle).

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