Share via


LayoutExtensions.ArrangeContentUnbounded(IContentView, Rect) 方法

定義

排列可超過 IContentView 界限的內容。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Graphics::Size ArrangeContentUnbounded(Microsoft::Maui::IContentView ^ contentView, Microsoft::Maui::Graphics::Rect bounds);
public static Microsoft.Maui.Graphics.Size ArrangeContentUnbounded (this Microsoft.Maui.IContentView contentView, Microsoft.Maui.Graphics.Rect bounds);
static member ArrangeContentUnbounded : Microsoft.Maui.IContentView * Microsoft.Maui.Graphics.Rect -> Microsoft.Maui.Graphics.Size
<Extension()>
Public Function ArrangeContentUnbounded (contentView As IContentView, bounds As Rect) As Size

參數

contentView
IContentView
bounds
Rect

傳回

排列內容的大小

備註

適用於排列 IContentView 提供檢視區給部分內容的內容 (,例如 IScrollView) 的內容。

適用於