ContentPage.ICrossPlatformLayout.CrossPlatformMeasure(Double, Double) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
virtual Microsoft::Maui::Graphics::Size Microsoft.Maui.ICrossPlatformLayout.CrossPlatformMeasure(double widthConstraint, double heightConstraint) = Microsoft::Maui::ICrossPlatformLayout::CrossPlatformMeasure;
Microsoft.Maui.Graphics.Size ICrossPlatformLayout.CrossPlatformMeasure (double widthConstraint, double heightConstraint);
abstract member Microsoft.Maui.ICrossPlatformLayout.CrossPlatformMeasure : double * double -> Microsoft.Maui.Graphics.Size
override this.Microsoft.Maui.ICrossPlatformLayout.CrossPlatformMeasure : double * double -> Microsoft.Maui.Graphics.Size
Function CrossPlatformMeasure (widthConstraint As Double, heightConstraint As Double) As Size Implements ICrossPlatformLayout.CrossPlatformMeasure
参数
- widthConstraint
- Double
- heightConstraint
- Double