Aracılığıyla paylaş


LayoutExtensions.ArrangeContentUnbounded(IContentView, Rect) Method

Definition

Arranges content which can exceed the bounds of the 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

Parameters

contentView
IContentView
bounds
Rect

Returns

The Size of the arranged content

Remarks

Useful for arranging content where the IContentView provides a viewport to a portion of the content (e.g, the content of an IScrollView).

Applies to