共用方式為


IPlatformServices.GetNativeSize(VisualElement, Double, Double) 方法

定義

供 Xamarin.Forms 平台內部使用。

public Xamarin.Forms.SizeRequest GetNativeSize (Xamarin.Forms.VisualElement view, double widthConstraint, double heightConstraint);
abstract member GetNativeSize : Xamarin.Forms.VisualElement * double * double -> Xamarin.Forms.SizeRequest

參數

view
VisualElement

供 Xamarin.Forms 平台內部使用。

widthConstraint
System.Double

供 Xamarin.Forms 平台內部使用。

heightConstraint
System.Double

供 Xamarin.Forms 平台內部使用。

傳回

供 Xamarin.Forms 平台內部使用。

適用於