Share via


TemplatedView.MeasureOverride(Double, Double) 方法

定义

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

参数

widthConstraint
Double
heightConstraint
Double

返回

适用于