Bagikan melalui


LayoutExtensions.ArrangeContentUnbounded(IContentView, Rect) Metode

Definisi

Mengatur konten yang dapat melebihi batas 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

Parameter

contentView
IContentView
bounds
Rect

Mengembalikan

Ukuran konten yang disusun

Keterangan

Berguna untuk mengatur konten di mana IContentView menyediakan viewport ke sebagian konten (misalnya, konten IScrollView).

Berlaku untuk