共用方式為


TemplatedView.MeasureOverride(Double, Double) Method

Definition

protected:
 override Microsoft::Maui::Graphics::Size MeasureOverride(double widthConstraint, double heightConstraint);
protected override Microsoft.Maui.Graphics.Size MeasureOverride (double widthConstraint, double heightConstraint);
override this.MeasureOverride : double * double -> Microsoft.Maui.Graphics.Size
Protected Overrides Function MeasureOverride (widthConstraint As Double, heightConstraint As Double) As Size

Parameters

widthConstraint
Double
heightConstraint
Double

Returns

Applies to