共用方式為


ContentPage.IContentView.CrossPlatformMeasure(Double, Double) Method

Definition

 virtual Microsoft::Maui::Graphics::Size Microsoft.Maui.IContentView.CrossPlatformMeasure(double widthConstraint, double heightConstraint) = Microsoft::Maui::IContentView::CrossPlatformMeasure;
Microsoft.Maui.Graphics.Size IContentView.CrossPlatformMeasure (double widthConstraint, double heightConstraint);
abstract member Microsoft.Maui.IContentView.CrossPlatformMeasure : double * double -> Microsoft.Maui.Graphics.Size
override this.Microsoft.Maui.IContentView.CrossPlatformMeasure : double * double -> Microsoft.Maui.Graphics.Size
Function CrossPlatformMeasure (widthConstraint As Double, heightConstraint As Double) As Size Implements IContentView.CrossPlatformMeasure

Parameters

widthConstraint
Double
heightConstraint
Double

Returns

Implements

Applies to