VisualElement.Bounds 屬性

定義

取得裝置獨立單位中元素的界限。

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

屬性值

元素的界限,以裝置獨立單位為單位。

備註

Bounds 會在版面配置期間指派。

適用於

另請參閱