VisualElement.IView.Arrange(Rect) 方法

定義

放置子專案,並決定元素的大小。

 virtual Microsoft::Maui::Graphics::Size Microsoft.Maui.IView.Arrange(Microsoft::Maui::Graphics::Rect bounds) = Microsoft::Maui::IView::Arrange;
Microsoft.Maui.Graphics.Size IView.Arrange (Microsoft.Maui.Graphics.Rect bounds);
abstract member Microsoft.Maui.IView.Arrange : Microsoft.Maui.Graphics.Rect -> Microsoft.Maui.Graphics.Size
override this.Microsoft.Maui.IView.Arrange : Microsoft.Maui.Graphics.Rect -> Microsoft.Maui.Graphics.Size
Function Arrange (bounds As Rect) As Size Implements IView.Arrange

參數

bounds
Rect

父代為子項目計算的大小。

傳回

傳回這個項目的實際排列大小。

實作

適用於