Aracılığıyla paylaş


IContentView.CrossPlatformArrange(Rect) Method

Definition

This interface method is provided for backward compatibility with previous versions. Implementing classes should implement the ICrossPlatformLayout interface rather than directly implementing this method.

public:
 Microsoft::Maui::Graphics::Size CrossPlatformArrange(Microsoft::Maui::Graphics::Rect bounds);
public Microsoft.Maui.Graphics.Size CrossPlatformArrange (Microsoft.Maui.Graphics.Rect bounds);
abstract member CrossPlatformArrange : Microsoft.Maui.Graphics.Rect -> Microsoft.Maui.Graphics.Size
Public Function CrossPlatformArrange (bounds As Rect) As Size

Parameters

bounds
Rect

The bounds in which the IContentView's content should be arranged.

Returns

The actual size of the arranged IContentView.

Applies to