共用方式為


IAbsoluteLayout.GetLayoutBounds(IView) Method

Definition

Gets the layout bounds of an IView.

public:
 Microsoft::Maui::Graphics::Rect GetLayoutBounds(Microsoft::Maui::IView ^ view);
public Microsoft.Maui.Graphics.Rect GetLayoutBounds (Microsoft.Maui.IView view);
abstract member GetLayoutBounds : Microsoft.Maui.IView -> Microsoft.Maui.Graphics.Rect
Public Function GetLayoutBounds (view As IView) As Rect

Parameters

view
IView

A visual element.

Returns

The layout bounds of the object.

Applies to