VisualElement.Bounds Property

Definition

Gets the bounds of the element in device-independent units.

public:
 property Microsoft::Maui::Graphics::Rect Bounds { Microsoft::Maui::Graphics::Rect get(); };
public Microsoft.Maui.Graphics.Rect Bounds { get; }
member this.Bounds : Microsoft.Maui.Graphics.Rect
Public ReadOnly Property Bounds As Rect

Property Value

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

Remarks

Bounds is assigned during layout.

Applies to

See also