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) 的内容。

适用于