Share via


VisualElement.Frame Property

Definition

Gets or sets the frame this element resides in on screen.

public:
 property Microsoft::Maui::Graphics::Rect Frame { Microsoft::Maui::Graphics::Rect get(); void set(Microsoft::Maui::Graphics::Rect value); };
public Microsoft.Maui.Graphics.Rect Frame { get; set; }
member this.Frame : Microsoft.Maui.Graphics.Rect with get, set
Public Property Frame As Rect

Property Value

Implements

Remarks

Setting this property outside of ArrangeOverride(Rect) won't do anything. If you want to influence this property you'll need to override ArrangeOverride(Rect)

Applies to