VisualElement.Frame Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.